---
title: "List action policy executions"
method: GET
path: "/api/alerting/v2/execution_history/action_policies"
tags: ["alerting-v2"]
---

# List action policy executions

`GET /api/alerting/v2/execution_history/action_policies`

**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/action_policies</span></div>

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

Get a paginated list of dispatcher summary events for action policies in the current space.<br/><br/>[Required authorization] Route required privileges: read_alerting-v2-execution-history.

## Query parameters

- `page` integer
- `per_page` integer
- `start_date` string, date-time
- `episode_ids` string[]
- `search` string
- `rule_ids` string[]
- `outcome` string[]

## Response `200`

Returns a paginated list of execution history events.

- KibanaHTTPAPIsAlertingPolicyExecutionHistoryResponse
  - `items` KibanaHTTPAPIsAlertingPolicyExecutionHistoryItem[], required
    - `action_group_count` number, required
    - `dispatched_at` string, required
    - `episode_count` number, required
    - `episodes` object[] — Episode ids referenced by this event, bounded to MAX_EMBEDDED_EPISODES_PER_ITEM. Use `episode_count` for the true total.
      - `id` string, required
    - `error` object
      - `message` string, required
    - `failure_reason` 'missing_api_key' | 'workflow_not_found' | 'workflow_disabled' | 'schedule_error'
    - `outcome` 'dispatched' | 'throttled' | 'dispatch_failed', required
    - `policy` object, required
      - `id` string, required
      - `name` string, nullable
    - `rules` object[], required — 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_count` for the full count.
      - `id` string, required
      - `name` string, nullable
    - `total_rule_count` number, required — Total number of rules referenced by this event after search / rule-filter narrowing. May exceed `rules.length` when the embedded array is truncated to the cap.
    - `workflows` object[], required
      - `id` string, required
      - `name` string, nullable
  - `page` integer, required
  - `per_page` integer, required
  - `search_matches` object, nullable, required — Per-type match counts for the active search, plus the cap used as filter. Null when no search was provided. When policies > cap or rules > cap the result is truncated.
    - `cap` number, required — Maximum number of policy/rule ids the server uses as a filter.
    - `policies` number, required — Total policies matching the search.
    - `rules` number, required — Total rules matching the search.
  - `total_events` integer, required

## Other responses

- `400` — Indicates an invalid schema or parameters.
- `401` — Indicates the request was not authenticated.
- `403` — Indicates the user does not have the required privileges to perform the request.
- `500` — Indicates an unexpected server-side error.
- `503` — Indicates the alerting engine is disabled by the `alerting:v2:enabled` advanced setting.

---

[API](https://skmtc.net/elastic/apis/kibana-apis.md) · [All operations](https://skmtc.net/elastic/apis/kibana-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elastic/kibana-apis/revisions/34c3066fc261/schema)
