Read reporting data over REST
Reporting returns bounded app aggregates for BI tools and repeatable analysis. It exposes no SQL, raw user records, event payloads, log details, or crash stacks. The Dashboard uses the same metric definitions; a REST result does not grant additional app access.
Authenticate and select the app
Use the existing authenticated Product API. Readers need access to the
app, ViewAnalytics, and the portfolio-dashboards entitlement. Enterprise includes BI; Scale requires
explicit configuration and has it disabled by default. Free, Launch and Growth exclude external
BI/reporting APIs. Core telemetry dashboards and ordinary analytics remain available. Account
restrictions and telemetry exclusions still apply.
The browser routes below run on the signed-in Dashboard origin with its session cookie.
Select the app and one concrete environment using X-AppPortal-AppId and
X-AppPortal-Environment; optional platform and deployment-target selectors narrow that scope.
The authenticated principal establishes account authority. Headers and query parameters cannot
retarget a caller to another account.
For an external BI integration, keep authentication on its server. Do not put access tokens, SDK keys, server API keys, internal keys, or private data in URLs, dashboard variables, or browser bundles. Reporting does not create a new credential type, and an Automation key does not replace Product API access. The Dashboard’s actual BFF routing contract lists the allowed routes; the production and stage origins are separate deployments.
Choose a dataset or a metric
| Browser GET route | Result | Window and limits |
|---|---|---|
/api/core/reporting/v1/summary |
Six usage and stability rows | Both bounds included; up to 90 days; 1–100 rows per page |
/api/core/reporting/v1/platforms |
Session counts by reported platform | Both bounds included; same window and pagination |
/api/core/reporting/v1/catalog |
Supported measures, dimensions, definitions, and limits | No date parameters |
/api/core/reporting/v1/query |
One catalog measure, optionally grouped or compared | Start included, end excluded; up to 90 days; 1–20 leading groups |
All dated requests require from and to with explicit UTC offsets. Use Z or an offset such as
+02:00; encode query values with URLSearchParams so a plus sign is not interpreted as a space.
A local timestamp without an offset is rejected. Retention can limit the available history.
The dataset routes preserve inclusive bounds: adjacent windows can count a boundary observation twice. Metric queries use half-open windows, so their end belongs to the next window. Keep each route’s exact bounds when reconciling totals rather than assuming every API has the same convention.
Read a summary
Run this on your signed-in Dashboard, replacing the app id and choosing a window you can access:
const parameters = new URLSearchParams({
from: '2026-10-01T00:00:00Z',
to: '2026-10-02T00:00:00Z',
limit: '100',
});
const response = await fetch(`/api/core/reporting/v1/summary?${parameters}`, {
credentials: 'same-origin',
headers: {
Accept: 'application/json',
'X-AppPortal-AppId': '<app-id>',
'X-AppPortal-Environment': 'production',
},
});
if (!response.ok) throw new Error(`Reporting request failed: ${response.status}`);
const report = await response.json();
console.table(report.rows);
Dataset responses include schemaVersion, dataset, app/environment, normalized dates,
observedAt, rows, totalRows, and nextCursor. Each row supplies its unit and definition,
plus a denominator or percentage where applicable. Follow nextCursor until null, keeping the
dataset, dates, scope, and other parameters unchanged. Unknown, repeated, or mismatched parameters
are rejected; a cursor is not permission to read another scope.
Active users deduplicates observed subjects across telemetry streams for the selected query
window. It is separate from account-period eligibility and accepted-record consumption; do not
substitute an app-scoped analytics result for either.
Sessions counts starts in the window. Crashed sessions counts those marked as ending in a
crash. Error reports includes handled errors and unhandled crashes. Crash-free sessions
is 100 × (1 − crashed sessions / sessions); reports per session is error reports / sessions.
The empty-session conventions are 100% and zero respectively, not evidence of measured reliability.
Platform shares use all matching sessions, including unknown metadata. Beyond the leading twenty
platform values, __remaining_platforms__ combines the rest. Do not treat the displayed groups as
the complete population without reading the denominator.
Query recorded performance
Read the catalog before selecting a measure. A metric query can use version for an exact app
version, compare=previous for an ungrouped preceding window, and dimension only where the
catalog permits it. Grouped results are bounded leading values, not a paginated exhaustive export.
For example, query the recorded app-start p95 with an explicitly offset window:
/api/core/reporting/v1/query?measure=app_start_p95_ms&from=2026-10-01T00%3A00%3A00Z&to=2026-10-02T00%3A00%3A00Z
app_start_p95_ms, screen_load_p95_ms, and network_request_p95_ms return milliseconds for their
separate recorded RUM kinds. Each includes successful and failed samples. Its row denominator is
that kind’s sample count, independent of the session population. If no samples match, the response
has no percentile row, not zero milliseconds. SDK instrumentation coverage varies; these are not all launches,
views, or requests. See read the dashboard measures.
Metric responses retain definitions, units, UTC windows, rows, sample/session populations and omitted-group information. Previous comparison uses the immediately preceding window of the same length and filters. Do not average percentiles or combine unlike marker kinds.
Handle failures and refreshes
A successful read is a live aggregate, not an atomic cross-store snapshot. Late delivery or retention can change a later response. Keep a fixed historical window for reconciliation and do not sum distinct-user counts across periods. Responses are private and not cached.
Check the session after 401, access and plan after 403/404, and parameters after 400. For unavailable providers, retry reads with bounded backoff; an unavailable result is not zero. Follow the Product API error guidance. No public embedding, scheduled export, or unauthenticated sharing is created by these routes.