GET
/
api
/
v1
/
explorer
/
query-runs
/
{run_id}
/
results
curl --request GET \
  --url https://api.allium.so/api/v1/explorer/query-runs/{run_id}/results \
  --header 'X-API-KEY: <api-key>'
{
  "sql": "<string>",
  "data": "<any>",
  "meta": {
    "columns": [
      {
        "name": "<string>",
        "data_type": "<string>"
      }
    ]
  },
  "queried_at": "2023-11-07T05:31:56Z"
}

Get Query Run Results

Possible query run results

The query run result will have the following fields:

Field nameDescription
sqlThe SQL query executed in the request
dataThe results of the query encoded as a list of JSON objects
metaMetadata about the results.
meta.columnsList of the data’s column names and types.
queried_atThe timestamp at which the query was executed

Authorizations

X-API-KEY
string
header
required

Path Parameters

run_id
string
required

Query Parameters

f
enum<string>
default:json

An enumeration.

Available options:
json,
json_file,
csv

Response

200
application/json
Successful Response
sql
string
required
meta
object
required
data
any
queried_at
string