LiveGraph Billing API

The billing API from LiveGraph — 8 operation(s) for billing.

GitHub OpenAPI

Operations 8

GET /me/usage/models Per-model usage ranked by trailing-30-day spend — the fleet's live incumbents #
GET /me/usage Usage and cost totals for the authenticated user, with per-graph and per-day… #
GET /billing/status Billing overview for the caller's workspace — plan, limits, usage, Stripe… #
POST /billing/checkout Create a Stripe checkout session for the workspace's Team subscription #
PUT /billing/daily-budget Set the workspace's shared daily spend ceiling — null clears it. #
PUT /billing/automations-paused Pause or resume every automatic firing in the workspace — the emergency stop… #
POST /billing/portal Create a Stripe customer-portal session (cards, cancellation, invoices) #
POST /billing/webhook Stripe webhook — plan flips on signed events only; 404 when billing is… #

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/livegraph-ai:livegraph-ai-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

livegraph-ai-billing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LiveGraph Billing API
  version: 1.0.0
  description: LiveGraph — the live, editable agent canvas. Authenticate with the livegraph_session cookie or an x-api-key header. Errors share the {error, code?} envelope; validation failures return 400.
security:
- sessionCookie: []
- apiKey: []
tags:
- name: Billing
paths:
  /me/usage/models:
    get:
      summary: Per-model usage ranked by trailing-30-day spend — the fleet's live incumbents
      tags:
      - Billing
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      operationId: getMeUsageModels
      x-operation-id-source: derived
  /me/usage:
    get:
      summary: Usage and cost totals for the authenticated user, with per-graph and per-day…
      tags:
      - Billing
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      operationId: getMeUsage
      x-operation-id-source: derived
  /billing/status:
    get:
      summary: Billing overview for the caller's workspace — plan, limits, usage, Stripe…
      tags:
      - Billing
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      operationId: getBillingStatus
      x-operation-id-source: derived
  /billing/checkout:
    post:
      summary: Create a Stripe checkout session for the workspace's Team subscription
      tags:
      - Billing
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      operationId: postBillingCheckout
      x-operation-id-source: derived
  /billing/daily-budget:
    put:
      summary: Set the workspace's shared daily spend ceiling — null clears it.
      tags:
      - Billing
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                dailyBudgetUsd:
                  anyOf:
                  - type: number
                    exclusiveMinimum: 0
                    maximum: 100000
                  - type: 'null'
              required:
              - dailyBudgetUsd
              additionalProperties: false
              $schema: http://json-schema.org/draft-07/schema#
      operationId: putBillingDailyBudget
      x-operation-id-source: derived
  /billing/automations-paused:
    put:
      summary: Pause or resume every automatic firing in the workspace — the emergency stop…
      tags:
      - Billing
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                paused:
                  type: boolean
              required:
              - paused
              additionalProperties: false
              $schema: http://json-schema.org/draft-07/schema#
      operationId: putBillingAutomationsPaused
      x-operation-id-source: derived
  /billing/portal:
    post:
      summary: Create a Stripe customer-portal session (cards, cancellation, invoices)
      tags:
      - Billing
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      operationId: postBillingPortal
      x-operation-id-source: derived
  /billing/webhook:
    post:
      summary: Stripe webhook — plan flips on signed events only; 404 when billing is…
      tags:
      - Billing
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      operationId: postBillingWebhook
      x-operation-id-source: derived
components:
  securitySchemes:
    sessionCookie:
      type: apiKey
      in: cookie
      name: livegraph_session
    apiKey:
      type: apiKey
      in: header
      name: x-api-key