List action policy executions
- Base URL
-
https://{kibana_url}
- GET /api/alerting/v2/execution_history/action_policies
- GET /s/{space_id}/api/alerting/v2/execution_history/action_policies
Refer to Spaces for more information.
Get a paginated list of dispatcher summary events for action policies in the current space.
Required authorization
- Privileges read_alerting-v2-execution-history
Query parameters
-
per_pageinteger · min: 1 · max: 100 · default: 20required -
Number of events per page. Defaults to 20.
-
fromstring · format: date-time -
Inclusive ISO datetime lower bound on the event timestamp; overrides the default 24-hour window. Independent of alert_ids — e.g. set it to an alert’s start time to scope results to that alert’s lifetime.
-
alert_idsstring · min items: 1 · max items: 50 -
Alert filter. Narrows events to those referencing at least one of the provided alert IDs.
-
sort_field· default: dispatched_atrequired -
Sort field. Defaults to "dispatched_at".
-
Values:
dispatched_at -
searchstring · min length: 1 · max length: 256 -
Free-text search. Matches policy name, rule name, policy/rule ID (case-insensitive).
Responses
Returns a paginated list of execution history events.
-
itemsobjectrequired -
alertsobject · max items: 50required -
Alert IDs referenced by this event, bounded to 50. Empty when the event references no alerts. Use
alert_countfor the true total. -
failure_reason -
Values:
missing_api_keyworkflow_not_foundworkflow_disabledschedule_errorlicense_not_supported -
rule_countnumberrequired -
Number of rules referenced by this event after search or rule-filter narrowing. Unlike
totalon a list response, this is an exact count and it can exceedrules.lengthwhen the embedded array is truncated to the cap.
Indicates an invalid schema or parameters.
Indicates the request was not authenticated.
Indicates the user does not have the required privileges to perform the request.
Indicates an unexpected server-side error.
Indicates the alerting engine is disabled by the alerting:v2:enabled advanced setting.