Skip to main content
GET
Usage rollup

Authorizations

Authorization
string
header
required

An API key (otsk_ + 64 hex) or a console session token.

Query Parameters

start_at
string

Window start, exactly YYYY-MM-DDTHH:MM:SSZ (UTC), inclusive. Send it with end_at; omit both for the current UTC calendar month.

end_at
string

Window end, exactly YYYY-MM-DDTHH:MM:SSZ (UTC), exclusive. Send it with start_at.

Response

Usage for the window.

GET /v1/usage.

organization_id
string
required
window
object
required
runs
object
required
tokens
object
required
spend
object
required