Preview query
Executes read-only SQL against the workspace’s analytics views and returns the rows. Use it to develop a query before creating a widget from it. Safe and side-effect free despite being a POST: the SQL and filter values are too large and too structured for a query string. Tenant scoping is enforced server-side and cannot be bypassed.
Path parameters
Headers
Request
Read-only SELECT; same filter-token syntax as widget SQL
Values for the tokens in sql, keyed by token name
Maximum rows returned. Optional — omit it for the default of 1000. A LIMIT inside your SQL can narrow the result further but never widens it past this. The result reports truncated when this cut the result short.
Response
Column metadata in result order; position N describes position N of every row
Row values as positional arrays aligned 1:1 with columns, not keyed objects
Number of rows in rows, which is not the total matched when truncated
True when the result was cut short by row_limit