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

# Get the team's current AI credit balance (available, reserved, included, used). Generation tools spend from this balance.

> Get the team's current AI credit balance (available, reserved, included, used). Generation tools spend from this balance.



## OpenAPI

````yaml /openapi.json post /tools/get_credit_balance
openapi: 3.1.0
info:
  title: AdStellar API
  version: 1.0.0
  description: >-
    Public REST API for AdStellar — creative generation, video generation,
    campaign management, and analytics. Every endpoint maps 1:1 to an AdStellar
    MCP tool.
servers:
  - url: https://app.adstellar.ai/api/v1
security: []
paths:
  /tools/get_credit_balance:
    post:
      summary: >-
        Get the team's current AI credit balance (available, reserved, included,
        used). Generation tools spend from this balance.
      description: >-
        Get the team's current AI credit balance (available, reserved, included,
        used). Generation tools spend from this balance.
      operationId: get_credit_balance
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $schema: https://json-schema.org/draft/2020-12/schema
              type: object
              properties: {}
              additionalProperties: false
      responses:
        '200':
          description: Tool result
        '401':
          description: Missing or invalid API key
        '403':
          description: Missing required scope
        '429':
          description: Rate limit exceeded
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: AdStellar API key (ast_live_...)

````