younifyd
Menu

Get task information

Get task information

GET/_tasks/{task_id}

Use it in a workflow

  1. Add a step and choose the Elasticsearch connector.
  2. Pick the Get task information action (under tasks).
  3. Fill in the fields below, then reference the result from later steps as {{getTaskInformation.response.data}}.

Request

Path parameters

task_idstringrequired

The task identifier.

Query parameters

timeoutoneOf

The period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.

wait_for_completionboolean

If `true`, the request blocks until the task has completed.

Response

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

completedboolean
taskany
responseobject
errorany
json
{
  "completed": false,
  "task": null,
  "response": {},
  "error": null
}

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

Was this page helpful?
Get task information — Elasticsearch — Documentation