DuckDB Query
Run a DuckDB query against registered sources
/api/v1/duckdb/queryExecutes a single read-only DuckDB SELECT or WITH statement after registering named sources. S3 and local file sources are supported now; PostgreSQL sources are reserved for future support.
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
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.
Run a DuckDB query against registered sources POST
Executes a single read-only DuckDB SELECT or WITH statement after registering named sources. S3 and local file sources are supported now; PostgreSQL sources are reserved for future support.