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