Data SQL Query
Run SQL query against workspace data
/api/v1/data/sql-queryExecutes a read-only PostgreSQL SELECT query against workspace data definitions projected as queryable tables. The query must reference a current workspace definition handle or its generated snake_case alias; bare table names only work when they match an existing definition.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
Create channel POST
Creates a channel that can later be connected to an adapter or used directly for API-driven traffic.
Run SQL query against workspace data POST
Executes a read-only PostgreSQL SELECT query against workspace data definitions projected as queryable tables. The query must reference a current workspace definition handle or its generated snake_case alias; bare table names only work when they match an existing definition.