Usage and quota
Usage rollup
Run counts, tokens and spend for your organization over a window. Requires usage_read.
The window is half-open, [start_at, end_at), and counts runs created inside it. Omit both bounds for the current UTC calendar month.
GET
Usage rollup
Authorizations
An API key (otsk_ + 64 hex) or a console session token.
Query Parameters
Window start, exactly YYYY-MM-DDTHH:MM:SSZ (UTC), inclusive. Send it with end_at; omit both for the current UTC calendar month.
Window end, exactly YYYY-MM-DDTHH:MM:SSZ (UTC), exclusive. Send it with start_at.