List action policy executions
- Base URL
-
https://{kibana_url}
- GET /api/alerting/v2/execution_history/action_policies
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: 0 · max: 100 -
Number of events per page. Defaults to 20. Pass 0 for a count-only read.
-
start_datestring · format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$ -
Inclusive ISO datetime lower bound on the event timestamp; overrides the default 24-hour window. Independent of episode_ids — e.g. set it to an episode’s start time to scope results to that episode’s lifetime.
-
episode_idsstring · min items: 1 · max items: 50 -
Episode filter. Narrows events to those referencing at least one of the provided episode ids.
-
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 -
episodesobject · max items: 50 -
Episode ids referenced by this event, bounded to MAX_EMBEDDED_EPISODES_PER_ITEM. Use
episode_countfor the true total. -
rulesobject · max items: 20required -
Rules referenced by this event, bounded to MAX_EMBEDDED_RULES_PER_ITEM. When a search or rule filter narrows the match, this array is intersected with the matched subset server-side. Use
total_rule_countfor the full count.
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.