Skip to main content
GET
Get Usage Aggregate

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

from_date
string<date-time>
required

Start of period (inclusive, ISO format)

to_date
string<date-time>
required

End of period (exclusive, ISO format)

mode
enum<string>
default:simulated

Usage counting mode: 'simulated' or 'billed'

Available options:
simulated,
billed

Response

Successful Response

Response schema for usage aggregation.

total_agentic_steps
integer
required
total_cached_steps
integer
required
period_start
string<date-time>
required
period_end
string<date-time>
required
mode
enum<string>
required

Mode for counting usage steps.

Available options:
simulated,
billed
runs_counted
integer
required