Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Authenticate using an API token or personal access token (PAT). Include the token as a Bearer token: Authorization: Bearer <token>. For more information, see Tokens.

Path Parameters

dataset_name
string
required

Unique name of the dataset.

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

A cursor for use in pagination. Use the cursor string returned in previous responses to fetch the next or previous page of results.

filter
object
groupBy
string[]
includeCursor
boolean

Specifies whether to include the row identified by the cursor in the results. Default is false.

limit
integer<uint32>

Specifies the maximum number of events to return. Default is 1000, minimum is 0, maximum is 50000.

order
object[]
project
object[]
queryOptions
object
virtualFields
object[]

Response

Result

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
Table defines the schema for query results in the "tabular" result format. · object[]

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