Get usage
Returns hourly API-request rollups for the organization over the requested window, for monitoring volume and rate-limit headroom.
Authorizations
A logged-in user session bearer token (WorkOS AuthKit access token from signup/login).
Path Parameters
UUID of the developer organization.
Query Parameters
Number of past days to include in the usage rollup (default 30, max 365).
1 <= x <= 365Response
Array of hourly usage records grouped by key and endpoint. NOTE: an org with no traffic in the window returns JSON null (not []) — verified live against the sandbox. The array element shape is shown below.
Unique identifier for this resource.
Identifier of the API key these requests were made with.
Identifier of the developer organization that owns the key.
Start of the UTC hour this rollup covers (RFC 3339).
Route pattern the requests hit (e.g. /api/v1/children).
Count of 2xx (success) responses in this hour.
Count of 4xx (client-error) responses in this hour.
Count of 5xx (server-error) responses in this hour.
Total requests in this hour across all status classes.