Keys
Retrieve usage numbers
Filter by keyId
or ownerId
.
GET
Changelog
Date | Changes |
---|---|
Jan 08 2024 | Introduced endpoint |
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
The id of the key to fetch, either keyId
or ownerId
must be provided
Example:
"key_1234"
The owner id to fetch keys for, either keyId
or ownerId
must be provided
Example:
"chronark"
The start of the period to fetch usage for as unix milliseconds timestamp, defaults to 24h ago.
Example:
1620000000000
The end of the period to fetch usage for as unix milliseconds timestamp, defaults to now.
Example:
1620000000000
The granularity of the usage data to fetch, currently only day
is supported
Available options:
day
Example:
"day"
Response
200
application/json
Usage numbers over time
Was this page helpful?