Retrieve the latest query run information for a query
Allium Explorer
Retrieve the latest query run information for a query
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
Query Parameters
Response
200
application/json
Successful Response
The response is of type object
.
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>"
}