Skip to main content
POST
Submit a sql statement for execution

Authorizations

Authorization
string
header
required

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

Body

text/sql

Text of query to execute

The body is of type string.

Response

OK

Describes the result from a query

query
object

info on the query

meta
object[]

schema of the query results

rows
integer

the number of rows returned

data
((string | number | boolean)[])[]

the data returned

statistics
object

the statistics of the query

explain_analyze
object

the explain analyze of the query