Skip to main content
GET
/
api
/
work_queues
/
{id}
/
status
Read Work Queue Status
curl --request GET \
  --url https://api.example.com/api/work_queues/{id}/status
{
  "healthy": true,
  "health_check_policy": {
    "maximum_late_runs": 0,
    "maximum_seconds_since_last_polled": 60
  },
  "late_runs_count": 0,
  "last_polled": "2023-11-07T05:31:56Z"
}

Headers

x-prefect-api-version
string

Path Parameters

id
string<uuid>
required

The work queue id

Response

Successful Response

healthy
boolean
required

Whether or not the work queue is healthy.

health_check_policy
WorkQueueHealthPolicy · object
required

The policy used to determine whether or not the work queue is healthy.

late_runs_count
integer
default:0

The number of late flow runs in the work queue.

last_polled
string<date-time> | null

The last time an agent polled this queue for work.