POST
/
v1
/
database
/
query
/

Authorizations

Authorization
string
headerrequired

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

Body

query
string
required

Queries to run. Multiple queries can be separated by semicolons.

Response

200 - application/json
query_id
string
required

The query UUID.

query
string
required

The query that was run.

summary
object
required

The summary of the query results.

row_count
integer
required

The number of rows returned by the query.

column_names
string[]
required

A list of strings representing the column names

column_types
string[]
required

A list of strings representing the column types

result_rows
array
required

A matrix of the data returned in the form of a Sequence of rows, with each row element being a sequence of column values.

start_timestamp
number
required

The timestamp when the query started running.

end_timestamp
number
required

The timestamp when the query finished running.