Menu
Get an inference endpoint (GET /_inference/{task_type}/{inference_id})
Get an inference endpoint
GET
/_inference/{task_type}/{inference_id}Use it in a workflow
- Add a step and choose the Elasticsearch connector.
- Pick the Get an inference endpoint (GET /_inference/{task_type}/{inference_id}) action (under inference).
- Fill in the fields below, then reference the result from later steps as
{{getAnInferenceEndpointGetInferenceTaskTypeInferenceId.response.data}}.
Request
Path parameters
Response
Returns 200 with an object. Read it in later steps with {{getAnInferenceEndpointGetInferenceTaskTypeInferenceId.response.data.<field>}}.
{
"endpoints": [
null
]
}
Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.
Was this page helpful?