curl --request GET \
--url https://control-plane.kubiya.ai/api/v1/task-queues/{queue_name}/workers \
--header 'Authorization: Bearer <token>'[
{
"id": "<string>",
"organization_id": "<string>",
"task_queue_name": "<string>",
"worker_id": "<string>",
"hostname": "<string>",
"worker_metadata": {},
"last_heartbeat": "<string>",
"status": "<string>",
"tasks_processed": 123,
"current_task_id": "<string>",
"registered_at": "<string>",
"updated_at": "<string>"
}
]List all workers for a specific queue.
NOTE: This endpoint is deprecated. Workers are now organized by worker_queues. Use GET /environments//worker-queues and worker_queues endpoints instead.
curl --request GET \
--url https://control-plane.kubiya.ai/api/v1/task-queues/{queue_name}/workers \
--header 'Authorization: Bearer <token>'[
{
"id": "<string>",
"organization_id": "<string>",
"task_queue_name": "<string>",
"worker_id": "<string>",
"hostname": "<string>",
"worker_metadata": {},
"last_heartbeat": "<string>",
"status": "<string>",
"tasks_processed": 123,
"current_task_id": "<string>",
"registered_at": "<string>",
"updated_at": "<string>"
}
]Enter your Kubiya API token (format: Bearer
Successful Response
Was this page helpful?