Run an enrich policy
Added in 7.5.0
Create the enrich index for an existing enrich policy.
Path parameters
-
name
string Required Enrich policy to execute.
Query parameters
-
master_timeout
string Period to wait for a connection to the master node.
-
wait_for_completion
boolean If
true
, the request blocks other enrich policy execution requests until complete.
PUT
/_enrich/policy/{name}/_execute
curl \
--request PUT 'http://api.example.com/_enrich/policy/{name}/_execute' \
--header "Authorization: $API_KEY"
Response examples (200)
{
"status": {
"phase": "SCHEDULED",
"step": "string"
},
"": "string"
}