curl --request GET \
--url https://control-plane.kubiya.ai/api/v1/worker-queues/{queue_id}/workflows \
--header 'Authorization: Bearer <token>'{
"workflows": [
{
"workflow_id": "<string>",
"run_id": "<string>",
"task_queue": "<string>",
"status": "<string>",
"execution_id": "<string>",
"workflow_type": "<string>",
"worker_id": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"close_time": "2023-11-07T05:31:56Z",
"attempt": 1,
"history_length": 0
}
],
"total": 123,
"pending_count": 0,
"running_count": 0,
"completed_count": 0,
"failed_count": 0
}List workflows/tasks for a worker queue.
Returns list of workflows with status counts and filtering options.
curl --request GET \
--url https://control-plane.kubiya.ai/api/v1/worker-queues/{queue_id}/workflows \
--header 'Authorization: Bearer <token>'{
"workflows": [
{
"workflow_id": "<string>",
"run_id": "<string>",
"task_queue": "<string>",
"status": "<string>",
"execution_id": "<string>",
"workflow_type": "<string>",
"worker_id": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"close_time": "2023-11-07T05:31:56Z",
"attempt": 1,
"history_length": 0
}
],
"total": 123,
"pending_count": 0,
"running_count": 0,
"completed_count": 0,
"failed_count": 0
}Enter your Kubiya API token (format: Bearer
Successful Response
Response for list queue workflows
List of workflows
Show child attributes
Total number of workflows
Number of pending workflows
Number of running workflows
Number of completed workflows
Number of failed workflows
Was this page helpful?