Create an enrich policy PUT /_enrich/policy/{name} Auth Requires Cluster manage_enrich privileges Path 1 parameter Query 1 parameter Body 3 properties Responses 1 response Path Query Body Responses Expand all Creates an enrich policy. Expand all Path parameters name string required Name of the enrich policy to create or update. Query parameters master_timeout string · default: 30s Period to wait for a connection to the master node. Request body { } geo_match object Matches enrich data to incoming documents based on a geo_shape query. + Show 6 properties 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 match object Matches enrich data to incoming documents based on a term query. + Show 6 properties 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 range object Matches a number, date, or IP address in incoming documents to a range in the enrich index based on a term query. + Show 6 properties 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 Responses 200 application/json acknowledged boolean required For a successful response, this value is always true. On failure, an exception is returned instead.