Metrics API documentation
The Metrics API accepts events from your applications and returns aggregated time series you can chart or export.
Getting started
Create a token, send your first event and read it back in under five minutes.
API reference
Endpoints, request and response formats, error codes and rate limits.
Changelog
What changed in each release and what you need to update.
How it works
- Your application sends events over HTTPS as JSON, one at a time or in batches of up to 500.
- Events are validated, stored and rolled up into one-minute, one-hour and one-day buckets.
- You query the buckets by metric name, time range and up to three dimensions.
Conventions
All requests use HTTPS and JSON. Timestamps are ISO 8601 in UTC. Examples use $BASE_URL for the address of your workspace and $TOKEN for an access token.