Measure metrics
Measures up to 20 metrics over a time range, each narrowed by filters and split into groups: MRR, revenue, or the count or unique people of one of your events, by store, product, billing period, plan, a person's trait (grouped into bins when it is a number) or an event property.
MRR and revenue count what the built-in charts count, so a split's groups add up to its total. A trait or plan is taken as it stood at the time: when an event or charge happened, or at the end of each period for MRR. Rows without a value form the $unknown group. When a query reads a trait, a group of fewer than five people is summed under $other, and a result narrowed below five people is withheld. Money is in integer minor units of currency, the organization's reporting currency. A secret key reports its own environment; a person's own credentials choose with x-environment: production (the default), test or all.
Guide: Analytics overview
Errors
| Status | type | code | When |
|---|---|---|---|
| 400 | invalid_request | invalid_report_request | With a message saying what to change. |
| 400 | invalid_request | invalid_time_range | With a message saying what to change. |
It can also fail with the errors every operation shares, such as unauthenticated; see Errors.
More in Analytics
- Compute insights
POST - Compute charts
POST - List the people behind a metric
POST - Report acquisition
POST - Report acquisition cohorts
POST - Report tracking health
POST - List live users
POST
Something wrong or missing on this page? Tell us by email or on Discord.