Docs
Open Revolution St
Export
POST/api/v3/export/sql

Export the result of a read-only ClickHouse query

Runs one SELECT against the activity log tables (the same guarded runner as the app's SQL editor: read-only, per-table read permissions, environment row policies, 10s and 1000-row caps). Requires dashboard:RunCustomQuery. {environmentId} and {timezone} are available as bound variables.

Request body (optional)

sqlstringrequired
formatenum

jsonndjsoncsvxlsx

filenamestring

Responses

200Query rows in the requested format
dataobject[]required
columnsstring[]required
400Invalid or non-read-only SQL
403Insufficient permissions

Sending requests from a browser

Open https://v3.revolutionstreetwxs.io/api/v3/docs to send requests to this endpoint with your API key.

esc