Dataset Endpoints
Run Query
Query
POST
/
datasets
/
_apl
Authorizations
Authorization
string
headerrequiredThe access token received from the authorization server in the OAuth 2.0 flow.
Query Parameters
format
enum<string>
requiredAvailable options:
legacy
, tabular
nocache
boolean
default: falsesaveAsKind
string
id
string
when saveAsKind is true, this parameter indicates the id of the associated dataset
Body
application/json
apl
string
requiredcursor
string
endTime
string
includeCursor
boolean
queryOptions
object
startTime
string
start and end time for the query, these must be specified as RFC3339 strings or using relative time expressions (e.g. now-1h, now-1d, now-1w, etc)
variables
object
Variables is an optional set of additional variables that are inserted into the APL
Response
200 - application/json
buckets
object
requireddatasetNames
string[]
requiredformat
string
requiredFormat specifies the result set format. Either "legacy" (default) or "tabular".
request
object
requiredstatus
object
requiredfieldsMetaMap
object
FieldsMetaMap contains the unit information (if we have it) for each field in the given dataset entry
matches
object[]
Matches hold the matching events of a filter query in the "legacy" result format
tables
object[]
Tables hold the result tables in the "tabular" result format
Was this page helpful?