POST /api/query — see the API reference.
Usage
Required flags
Optional flags
Shared flags
All query commands (query, query-attribution, query-cohort) support these:
Examples
Filters
--filter takes a canonical Filter JSON object. The shape is a recursive
{ and | or | not } group tree with leaves of the form
{ field, op, value }:
orders.*, channel.*, attribution.*, emq.*)
and each one is only valid in certain contexts. Run
upstack filters --detail to list every field with its
operators and applicable contexts before constructing a filter.
Save a query for reuse
upstack saved for the full reference.