Type to search.

Get filters

Auth The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability Generally available since 5.5 This functionality is generally available and ready for production usage. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

You can get a single filter or all filters.

Required privileges

Cluster privileges manage_ml

Path parameters

filter_id union string | string[] optional

A string that uniquely identifies a filter.

Leave it out to use /_ml/filters.

Query parameters

from number · default: 0

Skips the specified number of filters.

size number · default: 100

Specifies the maximum number of filters to obtain.

Response

application/json
count number required
filters object[] required
description string

A description of the filter.

filter_id string required

A string that uniquely identifies a filter.

items string[] required

An array of strings which is the filter item list.