List rules
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/rules</span></div>Refer to Spaces for more information.
[Required authorization] Route required privileges: read_alerting-v2-rules.
Request
- Base URLhttps://localhost:5601
- URLhttps://localhost:5601/api/alerting/v2/rules
- Auth
- API key in header Authorization
- or HTTP basic
Query parameters
The page number to return. Defaults to 1. page * per_page cannot exceed 10000.
The number of rules to return per page. Defaults to 20.
A KQL filter to apply to the rules. Supported fields: id, kind, enabled, metadata.name, metadata.description, metadata.tags, metadata.routing_tags. Cannot be empty. Omit it to list every rule.
The field to sort rules by.
The direction to sort rules.
A text string to search across rule fields.
Response
Returns a paginated list of rules.
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
- info
added
subschema #1subschema #2to the//response propertyanyOflist for the response status - info
added
subschema #1subschema #2subschema #3to the//response propertyanyOflist for the response status - info
added
subschema #1subschema #2subschema #3subschema #4to the//response propertyanyOflist for the response status - info
removed
subschema #1subschema #2from the//response propertyanyOflist for the response status - info
removed
subschema #1subschema #2subschema #3from the//response propertyanyOflist for the response status - info
removed
subschema #1subschema #2subschema #3subschema #4from the//response propertyanyOflist for the response status
- info