younifyd
Menu

Create or update the inference region policy

Create or update the inference region policy

PUT/_inference/_region_policy

Use it in a workflow

  1. Add a step and choose the Elasticsearch connector.
  2. Pick the Create or update the inference region policy action (under inference).
  3. Fill in the fields below, then reference the result from later steps as {{createOrUpdateTheInferenceRegionPolicy.response.data}}.

Request

Query parameters

forceboolean

If `true`, the region policy is applied even if it would deny access to inference endpoints that are currently in use by ingest pipeline or indices.

Request body

Enter the body as JSON in the step's Body field.

region_policyanyrequired

The region policy configuration.

json
{
  "region_policy": null
}

Response

Returns 200 with an object. Read it in later steps with {{createOrUpdateTheInferenceRegionPolicy.response.data.<field>}}.

region_policyany
created_atany

The date and time the region policy was created.

created_bystring

The user who created the region policy.

updated_atany

The date and time the region policy was last updated.

updated_bystring

The user who last updated the region policy.

json
{
  "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.

Create or update the inference region policy — Elasticsearch — Documentation