Menu
Get all tasks
Get all tasks
GET
/_tasksUse it in a workflow
- Add a step and choose the Elasticsearch connector.
- Pick the Get all tasks action (under tasks).
- Fill in the fields below, then reference the result from later steps as
{{getAllTasks.response.data}}.
Request
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getAllTasks.response.data.<field>}}.
{
"node_failures": [
{
"type": "string",
"reason": null,
"stack_trace": "string",
"caused_by": null,
"root_cause": [
{}
],
"suppressed": [
{}
]
}
],
"task_failures": [
{
"task_id": 0,
"node_id": null,
"status": "string",
"reason": null
}
],
"nodes": {},
"tasks": null
}
Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.
Was this page helpful?