Get filters Generally available; Added in 5.5.0

GET /_ml/filters/{filter_id}

You can get a single filter or all filters. ##Required authorization

  • Cluster privileges: manage_ml

Path parameters

  • filter_id string | array[string] Required

    A string that uniquely identifies a filter.

Query parameters

  • from number

    Skips the specified number of filters.

  • size number

    Specifies the maximum number of filters to obtain.

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • count number Required
    • filters array[object] Required
      Hide filters attributes Show filters attributes object
      • description string

        A description of the filter.

      • filter_id string Required
      • items array[string] Required

        An array of strings which is the filter item list.

GET /_ml/filters/{filter_id}
GET _ml/filters/safe_domains
curl \
 --request GET 'http://api.example.com/_ml/filters/{filter_id}'

Documentation preview

This is a preview of your version @2025-06-09 which is not yet released.