See also the API reference for more detail.
Service usage
‘s reporting service buckets and updates consumption, success, and latency metrics at intervals of 1 hour. The service has a RESTful interface that acceptsGET requests at
https:///usage.
Authentication
You can access the service by including your secret API token in anAuthorization header:
Report parameters
You should specify an ISO date or time range to generate a report:View multiple-service example
View multiple-service example
| Key | Required | Value |
|---|---|---|
from | ✅ | The ISO datetime to select data starting from, inclusively |
to | ✅ | The ISO datetime to select data up to, inclusively |
email | ⬜ | [Whitelabelers only] The (case-insensitive) email address of the user to select data for; multiple email addresses can be provided by repeating the key; data for all email addresses is included by default |
service | ⬜ | The service to select data for, search or browser; multiple services can be provided by repeating the key; data for all services is included by default |
by | ⬜ | The time unit to group the data by, hour, day (planned), or total; total is the default unit |
| Key | Value |
|---|---|
email | The email address of the user whose data is selected |
from | The ISO datetime of the first datapoint |
to | The ISO datetime of the last datapoint |
service | The service included in the data, search or browser |
result | The type of result included in the data, success or failure |
calls | The number of API calls of the service and result type |
meanSecs | The average number of elapsed seconds of the API calls |

