Aggregate API usage stats
Returns token and call counts aggregated by operation_type and model over the requested date range. Default range is the last 30 days.
For organizations without the "Cost control endpoints" approval, breakdown[].model is redacted (omitted) and the response carries "cost_fields": "redacted". Approved organizations see the field unredacted and no cost_fields marker. This applies uniformly — every tenant, not just consumers of the per-document route.
Request
- Base URLhttps://api.talonic.com
- AuthHTTP bearer
Query parameters
Start of the reporting window (ISO 8601). Default 30 days ago.
End of the reporting window (ISO 8601). Default now.
Response
Aggregated usage stats.
Present and set to "redacted" only for organizations without the "Cost control endpoints" approval — signals that breakdown[].model has been omitted. Absent for approved organizations.
Example response
{
"period": {
"from": "2026-04-25T14:30:00.000Z",
"to": "2026-04-25T14:30:00.000Z"
}
}Changes
No recorded changes to this operation across all 32 revisions of this API.