v1

latestOpenAPI 3.0.32026-07-26191565482.4 KB
DataV1

get/api/v1/data/events

Query parameters

happened_afterstring date-time

Only events which happened_at after this time will be returned. If set, happened_before must also be set. If no time range is set, defaults to 1 hour ago.

happened_beforestring date-time

Only events which happened_at before this will be returned. If set, happened_after must also be set. If no time range is set, defaults to now.

querystring

A query string specifying the query. The query supports the following operators: (=, =~, !=, !~, AND, OR) The query supports nesting using parentheses, and also searching for label values by using a dot operator. The query supports using either ' or " for identifying strings

Example queries: type = "my-type" type="my-type" type != 'my-type' AND source !~ "my-source|my-other-source" type =~ "my-type|my-other-type" OR (source != "my-source" AND labels.cluster =~ "my-cluster")

page.max_sizeinteger

Sets the preferred number of items to return per page. If set to 0, the server will use its default value. Regardless of the value specified, clients must never assume how many items will be returned.

page.tokenstring

An opaque page token that identifies which page the client should request. An empty value indicates the first page.

Response

A successful response.

All 191 operations