Skip to main content
GET
cURL

Headers

x-dev-portal-key
string

Integrator portal credential required for appId filtering.

x-api-key
string

Integrator API key.

Query Parameters

granularity
enum<string>
default:hourly

Time bucket granularity. minutely defaults to last 24h, hourly to last 7d, daily to last 14d.

Available options:
minutely,
hourly,
daily
startTimestamp
number

Start of the query window as a Unix timestamp (seconds). Defaults based on granularity.

endTimestamp
number

End of the query window as a Unix timestamp (seconds). Defaults to now.

apiKey
string

Filter metrics by API key. Accepts a single value or a comma-separated list (e.g. key1,key2) — results include metrics matching any of the supplied keys. Maximum 50 values across apiKey, apiKeyId and appId.

apiKeyId
string

Filter metrics by API key IDs (key_id_, comma-separated) owned by your integrator when using x-dev-portal-key. OR matching with apiKey and appId; maximum 50 values combined.

appId
string

Filter by owned Apps (app_id_, comma-separated); requires x-dev-portal-key. Includes all current keys, including inactive keys. OR matching with apiKey and apiKeyId; maximum 50 filter values combined before expanding Apps to keys. Rows remain grouped by API key. App attribution is resolved at read time: hard-deleted keys drop out and reassigned keys attribute all retained usage to their current App. Retention is 24h minutely, 7d hourly, and 14d daily.

Response

200 - application/json

Default Response

metrics
object[]