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

# Get account usage

> Read subscription limits and stored character usage.



## OpenAPI

````yaml /api-reference/actions/openapi.json post /api/v1/agents/actions/account_usage
openapi: 3.1.0
info:
  title: CustomerGPT Agent API
  version: 1.0.0
servers:
  - url: https://api.customergpt.ai
security: []
tags:
  - name: Chatbots
  - name: Knowledge
  - name: Custom responses
  - name: Conversations
  - name: Analytics and account
  - name: API keys and team
  - name: Onboarding
paths:
  /api/v1/agents/actions/account_usage:
    post:
      tags:
        - Analytics and account
      summary: Get account usage
      description: Read subscription limits and stored character usage.
      operationId: account_usage
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $schema: https://json-schema.org/draft/2020-12/schema
              type: object
              properties: {}
              additionalProperties: false
      responses:
        '200':
          description: Result in {ok:true,data:...}
        '400':
          description: Invalid arguments
        '401':
          description: Authentication required
        '403':
          description: Confirmation required
      security:
        - apiKey: []
        - oauth:
            - agents:read
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-Api-Key
    oauth:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://api.customergpt.ai/authorize
          tokenUrl: https://api.customergpt.ai/token
          scopes:
            agents:read: Read workspace data
            agents:write: Change workspace data

````

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