NEXUS AI Usage API
The Usage API from NEXUS AI — 3 operation(s) for usage.
The Usage API from NEXUS AI — 3 operation(s) for usage.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/nexusai-run:nexusai-run-usage-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Nexusai Run Usage API
version: 1.1.0
description: 'Operations tagged Usage across 2 of this provider''s published API definitions: agents-nexusai-run-openapi.json, nexusai-run-agents-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://mcp.nexusai.run/api/gpt
description: NEXUS GPT-compatible API
security:
- BearerAuth: []
tags:
- name: Usage
paths:
/usage/ai-requests:
get:
operationId: platform_getAiRequestUsage
summary: Get AI request usage
tags:
- Usage
servers:
- url: https://api.nexusai.run/api
description: Authenticated NEXUS platform API
responses:
'200':
description: JSON response
content:
application/json:
schema:
type: object
'400':
description: Invalid request, or the request was blocked by a safety check
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'401':
description: Invalid or missing Bearer token
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'403':
description: Insufficient scope or permission
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'404':
description: Resource not found in the caller organization
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'429':
description: Rate limit exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
x-nexus-required-permission: NEXUS authentication and RBAC
x-nexus-risk: read
servers:
- url: https://mcp.nexusai.run/api/gpt
description: NEXUS GPT-compatible API
/usage/stats:
get:
operationId: platform_getUsageStats
summary: Get usage statistics
tags:
- Usage
servers:
- url: https://api.nexusai.run/api
description: Authenticated NEXUS platform API
responses:
'200':
description: JSON response
content:
application/json:
schema:
type: object
'400':
description: Invalid request, or the request was blocked by a safety check
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'401':
description: Invalid or missing Bearer token
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'403':
description: Insufficient scope or permission
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'404':
description: Resource not found in the caller organization
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'429':
description: Rate limit exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
x-nexus-required-permission: NEXUS authentication and RBAC
x-nexus-risk: read
servers:
- url: https://mcp.nexusai.run/api/gpt
description: NEXUS GPT-compatible API
/usage/history:
get:
operationId: platform_getUsageHistory
summary: Get usage history
tags:
- Usage
servers:
- url: https://api.nexusai.run/api
description: Authenticated NEXUS platform API
responses:
'200':
description: JSON response
content:
application/json:
schema:
type: object
'400':
description: Invalid request, or the request was blocked by a safety check
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'401':
description: Invalid or missing Bearer token
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'403':
description: Insufficient scope or permission
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'404':
description: Resource not found in the caller organization
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
'429':
description: Rate limit exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformError'
x-nexus-required-permission: NEXUS authentication and RBAC
x-nexus-risk: read
servers:
- url: https://mcp.nexusai.run/api/gpt
description: NEXUS GPT-compatible API
components:
schemas:
PlatformError:
type: object
properties:
status:
type: string
message:
type: string
description: 'Human-readable reason, for example "Query blocked: Statement type not permitted"'
required:
- message
securitySchemes:
BearerAuth:
type: http
scheme: bearer
description: 'NEXUS AI Access Token (prefix: nxk_).
Required scopes depend on the endpoint:
- deployments:create - Deploy containers
- deployments:read - View deployment status
- deployments:delete - Destroy deployments
- deployments:logs - View deployment logs
'
x-refined-from:
- agents-nexusai-run-openapi.json
- nexusai-run-agents-openapi.json