Get the inference region policy
Get the inference region policy
GET/_inference/_region_policy
Use it in a workflow
- Add a step and choose the Elasticsearch connector.
- Pick the Get the inference region policy action (under inference).
- Fill in the fields below, then reference the result from later steps as
{{getTheInferenceRegionPolicy.response.data}}.
Fields
baseUrlstring
The API host this action calls. Override to point at a different environment.
Default "/"
forwardAllHeadersboolean
If enabled, all headers from the incoming request will be forwarded. Additional headers below will override forwarded ones.
Default false
headerskeyvalue
Extra HTTP headers to include, beyond what this action already declares. These override forwarded or declared headers with the same name.
queryParamskeyvalue
Extra URL query parameters to include, beyond what this action already declares. These override declared query parameters with the same name.
Response
Returns 200 with an object. Read it in later steps with {{getTheInferenceRegionPolicy.response.data.<field>}}.
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.
{
"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.