Skip to main content
POST
Execute SQL query

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Request body schema.

query
string
required

A read-only SELECT statement. Tables must be referenced as [datasetSlug].[modelSlug] and are rewritten to the underlying warehouse table under the hood. Example: "SELECT count() FROM my_dataset.my_model"

Maximum string length: 10000

Response

Successful response

rows
Rows · object[]
required

Result rows.