> ## Documentation Index
> Fetch the complete documentation index at: https://60db.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Usage

> Get usage statistics and analytics

## Request

### Headers

<ParamField header="Authorization" type="string" required>
  Bearer token with your API key
</ParamField>

### Query Parameters

<ParamField query="start_date" type="string">
  Start date (ISO 8601 format)
</ParamField>

<ParamField query="end_date" type="string">
  End date (ISO 8601 format)
</ParamField>

## Response

<ResponseField name="period" type="object">
  Time period for the statistics
</ResponseField>

<ResponseField name="tts" type="object">
  Text-to-speech usage
</ResponseField>

<ResponseField name="tts.characters" type="number">
  Total characters processed
</ResponseField>

<ResponseField name="tts.requests" type="number">
  Total TTS requests
</ResponseField>

<ResponseField name="stt" type="object">
  Speech-to-text usage
</ResponseField>

<ResponseField name="stt.minutes" type="number">
  Total minutes transcribed
</ResponseField>

<ResponseField name="stt.requests" type="number">
  Total STT requests
</ResponseField>

<ResponseField name="api_calls" type="number">
  Total API calls
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl "https://api.60db.ai/analytics/usage?start_date=2026-01-01&end_date=2026-01-31" \
    -H "Authorization: Bearer your-api-key"
  ```

  ```javascript JavaScript theme={null}
  const usage = await client.getUsage();
  ```

  ```python Python theme={null}
  usage = client.get_usage()
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
    "period": {
      "start": "2026-01-01T00:00:00Z",
      "end": "2026-01-31T23:59:59Z"
    },
    "tts": {
      "characters": 125000,
      "requests": 450
    },
    "stt": {
      "minutes": 180,
      "requests": 75
    },
    "api_calls": 525
  }
  ```
</ResponseExample>
