Usage data
Generate an hourly consumption report.
get/usage
Query parameters
fromstring date-time required
Example:2025-12-24T18:00:00-06:00
The ISO datetime to select data starting from, inclusively.
tostring date-time required
Example:2025-12-25T9:00:00-06:00
The ISO datetime to select data up to, inclusively.
emailstring[]
[Whitelabelers only] The (case-insensitive) email address of the user whose data to select; multiple addresses can be provided by repeating the key; data for all addresses is selected by default.
[ "user@example.com" ]
serviceService[]
The service to select data for; multiple services can be provided by repeating the key; data for all services is selected by default.
[ "search", "browser" ]
by'hour' | 'day (planned)' | 'total'
Example:total
The time unit to group the data by.
Response
The hourly report.
Example response
[
{
"email": "user@example.com",
"from": "2025-12-25T00:00:00+00:00",
"to": "2025-12-25T15:00:00+00:00",
"service": "browser",
"result": "success",
"calls": 17208,
"credits": 17208,
"meanSecs": 6.78
}
]