Menu
Get the pending cluster tasks
Get the pending cluster tasks
GET
/_cluster/pending_tasksUse it in a workflow
- Add a step and choose the Elasticsearch connector.
- Pick the Get the pending cluster tasks action (under cluster).
- Fill in the fields below, then reference the result from later steps as
{{getThePendingClusterTasks.response.data}}.
Request
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getThePendingClusterTasks.response.data.<field>}}.
{
"tasks": [
{
"executing": false,
"insert_order": 0,
"priority": "string",
"source": "string",
"time_in_queue_millis": null,
"time_in_queue": null
}
]
}
Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.
Was this page helpful?