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

# Read the shared audio balance



## OpenAPI

````yaml /api-reference/openapi.yaml get /v1/usage
openapi: 3.1.0
info:
  title: Tazo API
  version: 0.1.0
  description: >-
    Turn spoken audio into typed decisions. Send audio and questions, and get
    probability-backed answers.
servers:
  - url: https://api.tazolabs.com
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Decisions
  - name: Models
  - name: Health
  - name: Usage
paths:
  /v1/usage:
    get:
      tags:
        - Usage
      summary: Read the shared audio balance
      operationId: getUsageBalance
      responses:
        '200':
          description: Shared account balance in seconds.
          headers:
            Cache-Control:
              schema:
                type: string
                const: no-store
          content:
            application/json:
              schema:
                type: object
                required:
                  - model
                  - balance_seconds
                  - status
                properties:
                  model:
                    type: string
                    const: tazo-large
                  seconds_per_credit:
                    type: integer
                    const: 60
                    deprecated: true
                    description: >-
                      Legacy metadata; do not use to determine the balance or
                      billing increment.
                  balance_seconds:
                    type: number
                    example: 59.9
                    description: >-
                      Shared wallet milliseconds divided by 1000; may be
                      negative after admitted work or refunds.
                  status:
                    type: string
                    enum:
                      - active
                      - paused
                      - closed
                  playground_free_seconds:
                    type: number
                    const: 0
                    deprecated: true
                    description: Free time is already included in balance_seconds.
                  free_scope:
                    type: string
                    const: shared
                    deprecated: true
        '401':
          $ref: '#/components/responses/Unauthorized'
        '503':
          description: Usage billing is disabled or unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
        - accessToken: []
components:
  responses:
    Unauthorized:
      description: >-
        The credential is missing (`missing_access_token`) or invalid
        (`invalid_access_token`, `invalid_api_key`).
      headers:
        WWW-Authenticate:
          schema:
            type: string
            enum:
              - Bearer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
            - retryable
          properties:
            code:
              type: string
              description: Stable machine-readable code. Branch on this, not `message`.
              example: model_not_found
            message:
              type: string
              example: Unknown model. Choose 'tazo-large'.
            retryable:
              type: boolean
              description: Whether repeating the same request can succeed.
        request_id:
          type: string
          description: Present on `decision_pending` responses.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: An API key (`tazo_sk_...`). Also accepts a sign-in access token.
    accessToken:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: A signed-in user's OIDC access token.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.