alerting-v2

List rule executions

Spaces method and path for this operation:

<div><span class="operation-verb get">get</span>&nbsp;<span class="operation-path">/s/{space_id}/api/alerting/v2/execution_history/rules</span></div>

Refer to Spaces for more information.

Get a paginated list of rule execution events.<br/><br/>[Required authorization] Route required privileges: read_alerting-v2-execution-history.

get/api/alerting/v2/execution_history/rules

Query parameters

rule_idsstring[]

Rule id filter.

outcomesstring[]

Outcome filter.

fromstring date-time

Inclusive ISO datetime lower bound on event.start.

tostring date-time

Inclusive ISO datetime upper bound on event.start.

sort_field'started_at' | 'duration_ms' required

Sort field. Defaults to started_at.

sort_order'asc' | 'desc' required

Sort direction.

pageinteger required

Page number.

per_pageinteger required

Number of results per page. Pass 0 for a count-only read.

Response

Returns a paginated list of rule execution events.

pageinteger required
per_pageinteger required
totalinteger required

The number of rule executions matching the query. This count is an estimate: results above 10,000 may be reported as 10,000.

Changes

Changed in 1 of the 176 revisions of this API.1

Of the 176 revisions, 20 have no diff computed.