POST/GET requests
Run your queries asynchronously
Introduction
The Explorer API allows you to
Create a new asynchronous query run
Request fields
Field name | Description |
---|---|
| Key-value map of parameter names and their respective values. |
| Query run configuration to use when creating the query run. |
| The query row limit to use for this query run. |
Example
Retrieve the latest query run information for a query
Retrieve the status of a query run
Possible query run statuses
Status | Description |
---|---|
| Query has been created. |
| Query has been queued for execution. |
| Query is currently executing. |
| Query has successfully executed. |
| Query execution failed. |
| Query was canceled, likely due to user action. |
Retrieve the results of a query run
The query run result will have the following fields:
Field name | Description |
---|---|
| The SQL query executed in the request |
| The results of the query encoded as a list of JSON objects |
| Metadata about the results. |
| List of the data's column names and types. |
| The timestamp at which the query was executed |
Cancel a query run
Last updated