Execute SQL query
Execute a SQL query against the project’s analytics data. Only SELECT and WITH statements are allowed. LIMIT is capped at 1,000,000. Forbidden keywords: INSERT, UPDATE, DELETE, DROP, ALTER, TRUNCATE, CREATE, etc.
Authorizations
Workspace API key (e.g. formo_xxx). Create one in the Formo dashboard under Team Settings > API Keys.
Body
SQL query to execute
Response
Offset-paginated query results. The server doesn't own pagination here; LIMIT and OFFSET come from your SQL string and are echoed back. total is the row count before LIMIT was applied; has_more is true when there are additional rows beyond the current window.
Result rows.
Total rows before LIMIT was applied.
Applied LIMIT (parsed from your SQL; defaults to the server cap if absent).
Applied OFFSET (parsed from your SQL; 0 if absent).
True when offset + data.length < total; i.e. there's another page to fetch by re-running with a higher OFFSET.