Get Usage Aggregate
usage
Get Usage Aggregate
Aggregate usage (agentic and cached steps) for a given date range.
Two modes are supported:
- simulated (default): Uses total_agentic_steps and total_cached_steps from usage_metadata, but excludes runs where billing_outcome is ‘infra_failure’ (these would have been free). Use this for customers not yet on Stripe billing.
- billed: Uses total_agentic_steps_billed and total_cached_steps_billed. Use this for customers on active Stripe billing.
GET
Get Usage Aggregate
Documentation Index
Fetch the complete documentation index at: https://docs.cyberdesk.io/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Start of period (inclusive, ISO format)
End of period (exclusive, ISO format)
Usage counting mode: 'simulated' or 'billed'
Available options:
simulated, billed Response
Successful Response
Response schema for usage aggregation.