Query

Create query

POST
/
api
/
v1
/
queries

Create and enqueue the execution of a SQL query

Request

This endpoint expects an object.
query
string

The SQL query

datasetId
string

The id of the dataset to query

Response

This endpoint return an object.
createdUserId
string

The user that created the resource

createdDt
datetime

The created datetime of the resource

updatedUserId
string

The user that last updated the resource

updatedDt
datetime

The datetime the resource was last updated

queryId
string

The query id

query
string

The SQL query

datasetId
string

The dataset id

status
enum

The current status of the query

Show 6 enum values
startDt
optional datetime

The time the query started executing

endDt
optional datetime

The time the query finished executing

isActive
optional boolean

Defines if the query is in an active state or not