Skip to main content
GET
Get usage

Authorizations

Authorization
string
header
required

An API key from the console, starting ob_live_, sent as Authorization: Bearer <key>.

Query Parameters

from
string

The first UTC day, as YYYY-MM-DD. Without from and to, the last 30 days, today included.

Pattern: ^\d{4}-\d{2}-\d{2}$
to
string

The last UTC day, as YYYY-MM-DD. A range covers at most 90 days.

Pattern: ^\d{4}-\d{2}-\d{2}$
apiKeyId
string

Only this key's usage. A key without full access reads only its own.

Required string length: 24
Pattern: ^[0-9a-fA-F]+$

Response

Calls and spend for each UTC day in the range, and for each route.

days
object[]
required
endpoints
object[]
required