NEXUS AI Billing API

The Billing API from NEXUS AI — 8 operation(s) for billing.

GitHub OpenAPI

Operations 9

GET /billing/status Get subscription status #
POST /billing/trial/start Start a billing trial #
POST /billing/checkout Create a billing checkout session #
POST /billing/checkout/healthcare Create a healthcare billing checkout session #
POST /billing/portal Create a billing portal session #
PATCH /billing/subscription Change a subscription #
DELETE /billing/subscription Cancel a subscription #
GET /billing/invoices List billing invoices #
GET /billing/invoices/{invoiceId} Get a billing invoice #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/nexusai-run:nexusai-run-billing-api"
All apis
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.

Get an API 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 Specification

nexusai-run-billing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nexusai Run Billing API
  version: 1.1.0
  description: 'Operations tagged Billing 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: Billing
paths:
  /billing/status:
    get:
      operationId: platform_getBillingStatus
      summary: Get subscription status
      tags:
      - Billing
      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: billing.read
      x-nexus-risk: read
    servers:
    - url: https://mcp.nexusai.run/api/gpt
      description: NEXUS GPT-compatible API
  /billing/trial/start:
    post:
      operationId: platform_startBillingTrial
      summary: Start a billing trial
      tags:
      - Billing
      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: billing.manage
      x-nexus-risk: write
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
    servers:
    - url: https://mcp.nexusai.run/api/gpt
      description: NEXUS GPT-compatible API
  /billing/checkout:
    post:
      operationId: platform_createBillingCheckout
      summary: Create a billing checkout session
      tags:
      - Billing
      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: billing.manage
      x-nexus-risk: write
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
    servers:
    - url: https://mcp.nexusai.run/api/gpt
      description: NEXUS GPT-compatible API
  /billing/checkout/healthcare:
    post:
      operationId: platform_createHealthcareBillingCheckout
      summary: Create a healthcare billing checkout session
      tags:
      - Billing
      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: billing.manage
      x-nexus-risk: write
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
    servers:
    - url: https://mcp.nexusai.run/api/gpt
      description: NEXUS GPT-compatible API
  /billing/portal:
    post:
      operationId: platform_createBillingPortal
      summary: Create a billing portal session
      tags:
      - Billing
      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: billing.manage
      x-nexus-risk: write
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
    servers:
    - url: https://mcp.nexusai.run/api/gpt
      description: NEXUS GPT-compatible API
  /billing/subscription:
    patch:
      operationId: platform_changeBillingSubscription
      summary: Change a subscription
      tags:
      - Billing
      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: billing.manage
      x-nexus-risk: write
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
    delete:
      operationId: platform_cancelBillingSubscription
      summary: Cancel a subscription
      tags:
      - Billing
      servers:
      - url: https://api.nexusai.run/api
        description: Authenticated NEXUS platform API
      responses:
        '204':
          description: Resource deleted
        '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: billing.manage
      x-nexus-risk: destructive
    servers:
    - url: https://mcp.nexusai.run/api/gpt
      description: NEXUS GPT-compatible API
  /billing/invoices:
    get:
      operationId: platform_listBillingInvoices
      summary: List billing invoices
      tags:
      - Billing
      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: billing.manage
      x-nexus-risk: read
    servers:
    - url: https://mcp.nexusai.run/api/gpt
      description: NEXUS GPT-compatible API
  /billing/invoices/{invoiceId}:
    get:
      operationId: platform_getBillingInvoice
      summary: Get a billing invoice
      tags:
      - Billing
      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: billing.manage
      x-nexus-risk: read
      parameters:
      - name: invoiceId
        in: path
        required: true
        schema:
          type: string
    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