> ## Documentation Index
> Fetch the complete documentation index at: https://developers.meshapi.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Balance

> Return the credit balance for the authenticated caller.

Accepts either a dashboard session token (JWT) or an rsk_ API key. With an
org context the org owner's balance is returned — all members of an org share
the same billing pool; a caller with no org gets their own balance. The
response also reports how much of the balance is reserved by in-flight
operations (`reserved_usd`, plus a per-category `reserved_breakdown`) and the
spendable remainder (`available_usd`).

Auth: Authorization: Bearer <user JWT | rsk_ key>



## OpenAPI

````yaml /api/openapi.json get /v1/balance
openapi: 3.1.0
info:
  title: MeshAPI
  description: One key, all AI models.
  version: 0.1.0
servers:
  - url: https://api.meshapi.ai
security:
  - BearerAuth: []
paths:
  /v1/balance:
    get:
      tags:
        - Balance
      summary: Get Balance
      description: >-
        Return the credit balance for the authenticated caller.


        Accepts either a dashboard session token (JWT) or an rsk_ API key. With
        an

        org context the org owner's balance is returned — all members of an org
        share

        the same billing pool; a caller with no org gets their own balance. The

        response also reports how much of the balance is reserved by in-flight

        operations (`reserved_usd`, plus a per-category `reserved_breakdown`)
        and the

        spendable remainder (`available_usd`).


        Auth: Authorization: Bearer <user JWT | rsk_ key>
      operationId: get_balance
      parameters:
        - in: header
          name: X-Mesh-Version
          required: false
          schema:
            type: string
            enum:
              - 2026-08
            default: 2026-08
          example: 2026-08
          description: >-
            Dated version of the API contract to pin this request to. Omit it
            and the request is served under `2026-08` — the oldest supported
            version, so an existing integration is never moved by a release. A
            malformed or unsupported value is rejected with `400
            invalid_api_version` rather than falling back silently. The version
            actually served is echoed as `X-Mesh-Version` on every response,
            including errors.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BalanceOut'
              examples:
                default:
                  summary: Example response
                  value:
                    balance_usd: '42.5000000'
                    reserved_usd: '15.0000000'
                    available_usd: '27.5000000'
                    reserved_breakdown:
                      - kind: realtime
                        reserved_usd: '5.0000000'
                      - kind: video
                        reserved_usd: '10.0000000'
                    updated_at: '2026-07-14T10:15:30+00:00'
                    message: null
      security:
        - BearerAuth: []
components:
  schemas:
    BalanceOut:
      properties:
        balance_usd:
          type: string
          title: Balance Usd
          description: Total credit balance in USD.
        reserved_usd:
          type: string
          title: Reserved Usd
          description: Funds currently held by in-flight operations and not spendable.
          default: '0.0000000'
        available_usd:
          type: string
          title: Available Usd
          description: 'Spendable balance: balance_usd minus reserved_usd.'
        reserved_breakdown:
          items:
            $ref: '#/components/schemas/ReservationCategoryTotal'
          type: array
          title: Reserved Breakdown
          description: >-
            Reserved totals per category (realtime / async / video); omits
            categories holding nothing. Sums to reserved_usd.
        updated_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Updated At
          description: Last balance update (ISO 8601).
        message:
          anyOf:
            - type: string
            - type: 'null'
          title: Message
      type: object
      required:
        - balance_usd
        - available_usd
      title: BalanceOut
    ReservationCategoryTotal:
      properties:
        kind:
          type: string
          title: Kind
          description: 'Reservation category: "realtime", "async", or "video".'
        reserved_usd:
          type: string
          title: Reserved Usd
          description: Total funds held for this category, in USD.
      type: object
      required:
        - kind
        - reserved_usd
      title: ReservationCategoryTotal
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        Enter your MeshAPI key (`rsk_...`) — sent as `Authorization: Bearer
        <key>`.

````