Compute charts
Computes up to 20 of the built-in charts over a time range: revenue, subscribers, trials, churn, audience, paywalls, acquisition, web, app, locations, push and data health.
Each result carries the caller's key, the absolute range it covered and a shape saying how to read it: series, table, funnel, cohorts, curves, histogram, heatmap, flow, stats, points, markers or options. Money is in integer minor units of currency, the organization's reporting currency. A chart reads only the filters and options that apply to it. 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 - Measure metrics
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.