Skip to main content
POST
Download SQL query results

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 * FROM my_dataset.my_model"

Maximum string length: 10000
format
enum<string>

Download format. Defaults to csv.

Available options:
csv,
parquet

Response

Successful response

urls
string[]
required

Signed download URLs.