Preview query
Runs read-only SQL against the workspace’s analytics views without saving a widget. Use it to develop a query. Side-effect free despite being a POST.
Path parameters
Headers
Request
Read-only SELECT; same filter-token syntax as widget SQL
Values for the tokens in sql, keyed by token name. Preview has no board, so there are no defaults: every token outside an optional [[...]] block needs a value here.
Maximum rows, 1–10000. Default 1000. A LIMIT in your SQL also applies and is capped at 1000.
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 rows returned reached the row limit, so the result may have been cut. Also true when your own LIMIT is reached exactly.