younifyd
Menu

Get an inference endpoint (GET /_inference/{task_type}/_all)

Get an inference endpoint

GET/_inference/{task_type}/_all

Use it in a workflow

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

Request

Path parameters

task_typestringrequired

The task type of the endpoint to return

One ofsparse_embeddingtext_embeddingrerankcompletionchat_completionembedding

Response

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

endpointsarray<any>
json
{
  "endpoints": [
    null
  ]
}

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