Deprecated in 7.13.0. Use the find rules API instead. NOTE: Alert params are stored as a flattened field type and analyzed as keywords. As alerts change in Kibana, the results on each page of the response also change. Use the find API for traditional paginated results, but avoid using it to export large amounts of data.
The default operator to use for the simple_query_string.
fieldsstring[]
The fields to return in the attributes key of the response.
filterstring
A KQL string that you filter with an attribute from your saved object. It should look like savedObjectType.attributes.title: "myTitle". However, if you used a direct attribute of a saved object, such as updatedAt, you must define your filter, for example, savedObjectType.updatedAt > 2018-12-22.
has_referenceobject
Filters the rules that have a relation with the reference objects with a specific type and identifier.
idstring
typestring
pageinteger · default: 1
The page number to return.
per_pageinteger · default: 20
The number of alerts to return per page.
searchstring
An Elasticsearch simple_query_string query that filters the alerts in the response.
search_fieldsunionstring | string[]
The fields to perform the simple_query_string parsed query against.
sort_fieldstring
Determines which field is used to sort the results. The field must exist in the attributes key of the response.