GET
/
api
/
v1
/
explorer
/
query-runs
curl --request GET \
  --url https://api.allium.so/api/v1/explorer/query-runs \
  --header 'X-API-KEY: <api-key>'
{
  "run_id": "<string>",
  "query_id": "<string>",
  "query_config": {
    "sql": "<string>",
    "limit": 123,
    "parameters": {},
    "datastore_to_use": "snowflake"
  },
  "creator_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "completed_at": "2023-11-07T05:31:56Z",
  "status": "created",
  "stats": {
    "start_time": "2023-11-07T05:31:56Z",
    "end_time": "2023-11-07T05:31:56Z",
    "datastore": "snowflake",
    "sql": "<string>",
    "row_count": 123,
    "data_size_bytes": 123
  },
  "error": "<string>",
  "results": {
    "storage_type": "gcs"
  },
  "zed_token": "<string>"
}

Get Latest Query Run Handler

Authorizations

X-API-KEY
string
header
required

Query Parameters

query_id
string
required

Response

200
application/json
Successful Response
run_id
string
required
query_id
string
required
query_config
object
required
creator_id
string
required
created_at
string
required
status
enum<string>
required

An enumeration.

Available options:
created,
queued,
running,
success,
failed,
canceled
completed_at
string
stats
object
error
string
results
object
zed_token
string