Skip to main content
POST
Execute a SQL query against a data source

Authorizations

Authorization
string
header
required

Use the 'Authorization' header with the format 'Key '

Headers

X-Stream-Response
string | null

Path Parameters

data_source_id
integer
required

Query Parameters

stream
boolean
default:false

Stream results as JSON

Body

application/json
query
string
required

SQL query to execute

params
string[] | null

Positional parameters for parameterized queries

Response

Successful Response

rows
Rows · object[]
required
columns
ApiQueryColumn · object[] | null