Skip to main content

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 accepts GET requests at https://‍/usage.

Authentication

You can access the service by including your secret API token in an Authorization header:
Here’s an example request that uses the common Curl command:

Report parameters

You should specify an ISO date or time range to generate a report:
The API will return a JSON array:
Your report can optionally be filtered by one or more services:
You can also disaggregate the metrics:
These are the request keys and values: These are the response keys and values:

Additional examples

Email filtering