POST
/
datasets
/
{id}
/
query

Authorizations

Authorization
string
headerrequired

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

Path Parameters

id
string
required

Query Parameters

saveAsKind
string
streaming-duration
string
nocache
boolean

Body

application/json
endTime
string
required
resolution
string
required

The time resolution of the query’s graph, in seconds. Valid values are the query’s time range /100 at maximum and /1000 at minimum or "auto".

startTime
string
required

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)

aggregations
object[]
continuationToken
string
cursor
string
filter
object
groupBy
string[]
includeCursor
boolean
limit
integer
order
object[]
project
object[]
queryOptions
object
virtualFields
object[]

Response

200 - application/json
buckets
object
required
format
string
required

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

status
object
required
fieldsMeta
object[]

FieldsMeta contains the unit information (if we have it) for each field

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