Run a read-only analytics query for a project
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
The public API version to use for this request.
2026-08-21 Query Parameters
Body
Run a read-only analytics query for a project.
Rules:
- Use SELECT or WITH queries only.
- Do not add project or namespace filters; project scoping is enforced server-side.
- Prefer daily rollup tables for date-range summaries and use events_computed for ad-hoc session-level questions.
- Aggregate-state rollup columns must use the matching ClickHouse merge function, such as countMerge, uniqMerge, or sumMerge, and queries must group by selected dimensions.
- Maximum execution time: 60 seconds.
- Maximum result rows: 100000.
Queryable tables: Session-level computed analytics. Primary table for ad-hoc queries. Project scoped: yes.
Currency exchange rates for multi-currency reporting. Project scoped: no.
Pre-aggregated daily page metrics by day, domain, path, and UTM source. Project scoped: yes.
Pre-aggregated daily project traffic metrics by day and UTM source. Project scoped: yes.
Pre-aggregated daily purchase metrics by day and UTM source. Project scoped: yes.
1