Retrieve TTS API usage data
Usage
Get voice usage
Per-voice usage history aggregated by date — generated minutes per (date, voice, style, language, model).
GET
Retrieve TTS API usage data
Returns generated-audio minutes for each
(date, voice, style, language, model) combination over the requested period. Both preset voices and custom voices appear in the response.
For bucketed analytics with custom breakdowns (e.g. by api_key), use Get usage instead.
Dates are UTC+0. Maximum query window is 30 days.
Endpoint
Query parameters
| Name | Required | Description |
|---|---|---|
start_date | ✅ | Start date in YYYY-MM-DD, UTC+0. |
end_date | ✅ | End date in YYYY-MM-DD, UTC+0. |
Request example
Response example
Notes
- If no usage was recorded in the window,
usagesis an empty array. total_minutes_usedreflects the actual length of generated audio (the same length used for credit deduction).- Useful for monthly budget reports and identifying which characters drive the most cost.
See also
Docs: Cost and usage
Operational patterns: weekly reports, anomaly alerts, attribution.
Get usage
Bucketed analytics with multi-dimensional breakdowns.
Authorizations
Query Parameters
The start date in YYYY-MM-DD format.
Example:
"2024-11-01"
The end date in YYYY-MM-DD format.
Example:
"2024-11-30"
Response
A list of TTS API usage records matching the specified date range.