POST
/
datasets
/
_apl

Authorizations

Authorization
string
headerrequired

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

format
enum<string>
required
Available options:
legacy,
tabular
nocache
boolean
default: false
saveAsKind
string
id
string

when saveAsKind is true, this parameter indicates the id of the associated dataset

Body

application/json
apl
string
required
cursor
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
datasetNames
string[]
required
format
string
required

Format specifies the result set format. Either "legacy" (default) or "tabular".

status
object
required
buckets
object
fieldsMetaMap
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

request
object
tables
object[]

Tables hold the result tables in the "tabular" result format