Skip to main content

prefect.server.api.work_queues

Routes for interacting with work queue objects.

Functions

create_work_queue

Creates a new work queue. If a work queue with the same name already exists, an error will be raised. For more information, see https://docs.prefect.io/v3/concepts/work-pools#work-queues.

update_work_queue

Updates an existing work queue.

read_work_queue_by_name

Get a work queue by id.

read_work_queue

Get a work queue by id.

read_work_queue_runs

Get flow runs from the work queue.

read_work_queues

Query for work queues.

delete_work_queue

Delete a work queue by id.

read_work_queue_concurrency_status

Read concurrency status for a work queue, including paginated flow run summaries. active_slots always reflects the total count.

read_work_queue_status

Get the status of a work queue.