Execute a measures-and-dimensions query against your event stream. Mirrors the in-app query builder.
Required scope: analytics:read.
See Querying Data for a guided walkthrough.
Documentation Index
Fetch the complete documentation index at: https://docs.upstackdata.com/llms.txt
Use this file to discover all available pages before exploring further.
Your Upstack API key. Starts with upstack_.
The pixel id the request targets.
Must match the x-pixel-id header (403 if it doesn't).
none, second, minute, hour, day, week, month, quarter, year 1 - 30 elements5Dimension id (see Measures & Dimensions).
5Optional comparison period. Must not overlap dateRange; the server picks the preceding period if omitted (and granularity ≠ none).
IANA timezone (e.g. America/New_York).
Order-level query settings — exclusion filters, pending/voided handling.
Query results.