Skip to main content
POST
Execute Query

Authorizations

Authorization
string
header
required

JWT token authentication. Include the token in the Authorization header as Bearer {token}. See Authentication for more information on creating a token.

Body

application/json
query
string
required

The SQL query to execute. Must be a valid SQL query.

Minimum string length: 1
defaultCatalog
string | null

The default catalog to use for the query if none is specified in the query itself.

defaultSchema
string | null
parameters
object | null
schemaOnly
boolean

If true, only the schema of the result set is returned without any data rows. The default value is false.

timeout
integer<int32>
Required range: 1 <= x <= 300

Response

200 - application/json

OK

results
object[] | null
error
object