Requires the `manage_behavioral_analytics` cluster privilege.
[[list-analytics-collection-path-params]]
==== {api-path-parms-title}
`<criteria>`::
(optional, string)
Criteria is used to find a matching analytics collection. This could be the name of the collection or a pattern to match multiple. If not specified, will return all analytics collections.
[[list-analytics-collection-response-codes]]
==== {api-response-codes-title}
`404`::
Criteria does not match any Analytics Collections.
==== {api-response-codes-title}
[[list-analytics-collection-example]]
==== {api-examples-title}
The following example lists all configured Analytics Collections: