Skip to main content
GET
Usage ledger

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.

limit
integer<int32>

Entries to return. Defaults to 50; values above 200 are clamped to 200. 0 is refused.

Required range: x >= 0

Response

Ledger entries for the window.

GET /v1/usage/ledger.

organization_id
string
required
window
object
required
limit
integer<int32>
required
Required range: x >= 0
entries
object[]
required