Get an enrich policy

  • GET /_enrich/policy/{name}
  • GET /_enrich/policy
Auth

Returns information about an enrich policy.

Path parameters

name union string | string[] optional

Comma-separated list of enrich policy names used to limit the request. To return information for all enrich policies, omit this parameter.

Leave it out to use /_enrich/policy.

Query parameters

master_timeout string · default: 30s

Period to wait for a connection to the master node.

Response

application/json
policies object[] required
config map string to object · min properties: 1 · max properties: 1 required
<string> object
enrich_fields union oneOf required
One of: string[] or string
indices union oneOf required
One of: string[] or string
match_field string required
query {} Query
name string
elasticsearch_version string