Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The id of the key to fetch, either keyId
or ownerId
must be provided
"key_1234"
The owner id to fetch keys for, either keyId
or ownerId
must be provided
"chronark"
The start of the period to fetch usage for as unix milliseconds timestamp, defaults to 24h ago.
1620000000000
The end of the period to fetch usage for as unix milliseconds timestamp, defaults to now.
1620000000000
The granularity of the usage data to fetch, currently only day
is supported
day
"day"
Usage numbers over time
The response is of type object
.