Skip to main content
GET
Get Api Usage

Authorizations

Authorization
string
header
required

API key from Settings > Developer > REST API

Headers

Moda-Version
enum<string>
default:2026-05-01

Calendar-dated API version pin. New integrations should pin 2026-05-01 to opt into the newest response shapes. For back-compat the server also accepts requests with no header and resolves them to the current default (today: 2026-04-12); that default advances on each sunset date. Any unsupported value returns 400 unsupported_version.

Available options:
2026-04-12,
2026-05-01
Example:

"2026-05-01"

Query Parameters

api_key_id
string | null

Optional API-key UUID filter. Narrows all aggregates to the given key.

from
string<date-time> | null

ISO8601 UTC lower bound (inclusive). Defaults to to - 7d.

to
string<date-time> | null

ISO8601 UTC upper bound (exclusive). Defaults to now.

Response

Successful Response

period
UsagePeriod · object
required
summary
UsageSummary · object
required
daily
UsageDaily · object[]
required
by_api_key
UsageByApiKey · object[]
required
by_operation
UsageByOperation · object[]
required