List action policies
Changed onSpaces method and path for this operation:
<div><span class="operation-verb get">get</span> <span class="operation-path">/s/{space_id}/api/alerting/v2/action_policies</span></div>Refer to Spaces for more information.
Get a paginated list of action policies with optional filtering and sorting.<br/><br/>[Required authorization] Route required privileges: read_alerting-v2-action-policies.
Request
- Base URLhttps://localhost:5601
- URLhttps://localhost:5601/api/alerting/v2/action_policies
- Auth
- API key in header Authorization
- or HTTP basic
Query parameters
The page number to return. Defaults to 1.
The number of action policies to return per page. Defaults to 20.
A KQL filter to apply to the action policies. Supported fields: id, name, description, enabled. Cannot be empty. Omit it to list every action policy.
A text string to search across action policy fields.
The field to sort action policies by.
The sort direction.
Response
Returns a paginated list of action policies.
Changes
- breaking
for the
queryrequest parameterpage, the type changed fromnumbertointeger - breaking
for the
queryrequest parameterper_page, the type changed fromnumbertointeger - warning
for the
queryrequest parameterpage, the max was set to10000.00
- breaking
- breaking
removed the required property
//from the response with the status - warning
deleted the
queryrequest parametertags
- breaking