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

# Get account usage and credits



## OpenAPI

````yaml /api/openapi.yaml get /v1/account/usage
openapi: 3.1.0
info:
  title: AdSkull Public API
  version: 1.0.0
  summary: Public API for AdSkull creative generation.
  description: >
    Create AI ad assets, images, videos, voiceovers, custom voices, and talking
    avatars.

    Responses expose AdSkull product resources.
servers:
  - url: https://api.adskull.io
security:
  - bearerAuth: []
tags:
  - name: Account
  - name: Models
  - name: Assets
  - name: Images
  - name: Videos
  - name: Voices
  - name: Talking Avatars
  - name: Webhooks
  - name: LLM
  - name: LLM OpenAI Compat
  - name: LLM Anthropic Compat
paths:
  /v1/account/usage:
    get:
      tags:
        - Account
      summary: Get account usage and credits
      operationId: getAccountUsage
      responses:
        '200':
          description: Account usage.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountUsage'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
      security:
        - bearerAuth:
            - usage:read
components:
  schemas:
    AccountUsage:
      type: object
      required:
        - object
        - plan
        - api_enabled
        - credits
      properties:
        object:
          type: string
          const: account_usage
        plan:
          type: string
          enum:
            - creator
            - starter
            - pro
            - elite
        api_enabled:
          type: boolean
        credits:
          type: object
          required:
            - total_credits
          properties:
            total_credits:
              type: integer
        voice_quota:
          type: object
          properties:
            remaining:
              type: integer
            limit:
              type: integer
        rate_limits:
          type: object
          properties:
            tier:
              type: string
            requests_per_minute:
              type: integer
            active_jobs:
              type: integer
        usage:
          type: object
          properties:
            requests_this_cycle:
              type: integer
            credits_reserved_this_cycle:
              type: integer
            credits_refunded_this_cycle:
              type: integer
            jobs_completed_this_cycle:
              type: integer
            jobs_failed_this_cycle:
              type: integer
    ErrorEnvelope:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
            - request_id
          properties:
            code:
              type: string
            message:
              type: string
            request_id:
              type: string
            details:
              type: object
              additionalProperties: true
  responses:
    Unauthorized:
      description: Missing or invalid API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    Forbidden:
      description: Missing scope, plan, or resource access.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key

````