younifyd
Menu

Create an inference endpoint (PUT /_inference/{inference_id})

Create an inference endpoint

PUT/_inference/{inference_id}

Use it in a workflow

  1. Add a step and choose the Elasticsearch connector.
  2. Pick the Create an inference endpoint (PUT /_inference/{inference_id}) action (under inference).
  3. Fill in the fields below, then reference the result from later steps as {{createAnInferenceEndpointPutInferenceInferenceId.response.data}}.

Request

Path parameters

inference_idstringrequired

The inference Id

Query parameters

timeoutoneOf

Specifies the amount of time to wait for the inference endpoint to be created. The default depends on the task type: 120s for `completion` and `chat_completion`, and 30s for all other task types.

Response

Returns 200 with a any. Read it in later steps with {{createAnInferenceEndpointPutInferenceInferenceId.response.data.<field>}}.

Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.

Create an inference endpoint (PUT /_inference/{inference_id}) — Elasticsearch — Documentation