POST/GET requests
Run your queries asynchronously
Introduction
The Explorer API allows you to
Create a new asynchronous query run
Request fields
parameters
Key-value map of parameter names and their respective values.
run_config
Query run configuration to use when creating the query run.
run_config.limit
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
created
Query has been created.
queued
Query has been queued for execution.
running
Query is currently executing.
success
Query has successfully executed.
failed
Query execution failed.
canceled
Query was canceled, likely due to user action.
Retrieve the results of a query run
The query run result will have the following fields:
sql
The SQL query executed in the request
data
The results of the query encoded as a list of JSON objects
meta
Metadata about the results.
meta.columns
List of the data's column names and types.
queried_at
The timestamp at which the query was executed
Cancel a query run
Last updated