Menu
Create or update the inference region policy
Create or update the inference region policy
PUT
/_inference/_region_policyUse it in a workflow
- Add a step and choose the Elasticsearch connector.
- Pick the Create or update the inference region policy action (under inference).
- Fill in the fields below, then reference the result from later steps as
{{createOrUpdateTheInferenceRegionPolicy.response.data}}.
Request
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"region_policy": null
}
Response
Returns 200 with an object. Read it in later steps with {{createOrUpdateTheInferenceRegionPolicy.response.data.<field>}}.
{
"region_policy": null,
"created_at": null,
"created_by": "string",
"updated_at": null,
"updated_by": "string"
}
Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.
Was this page helpful?