Skip to main content

prefect work-queue

Manage work queues.

prefect work-queue create

Create a work queue.

Arguments

string
required
The unique name to assign this work queue

Options

The concurrency limit to set on the queue.
The name of the work pool to create the work queue in.
The associated priority for the created work queue

prefect work-queue set-concurrency-limit

Set a concurrency limit on a work queue.

Arguments

string
required
The name or ID of the work queue
string
required
The concurrency limit to set on the queue.

Options

The name of the work pool that the work queue belongs to.

prefect work-queue clear-concurrency-limit

Clear any concurrency limits from a work queue.

Arguments

string
required
The name or ID of the work queue to clear

Options

The name of the work pool that the work queue belongs to.

prefect work-queue pause

Pause a work queue.

Arguments

string
required
The name or ID of the work queue to pause

Options

The name of the work pool that the work queue belongs to.

prefect work-queue resume

Resume a paused work queue.

Arguments

string
required
The name or ID of the work queue to resume

Options

The name of the work pool that the work queue belongs to.

prefect work-queue inspect

Inspect a work queue by ID.

Arguments

string
required
The name or ID of the work queue to inspect

Options

The name of the work pool that the work queue belongs to.
Specify an output format. Currently supports: json

prefect work-queue slots

Show concurrency slot utilization for a work queue.

Arguments

string
required
The name or ID of the work queue.

Options

The name of the work pool that the work queue belongs to.
Specify an output format. Currently supports: json

prefect work-queue ls

View all work queues.

Options

Display more information.
Will match work queues with names that start with the specified prefix string
The name of the work pool containing the work queues to list.
Specify an output format. Currently supports: json

prefect work-queue preview

Preview a work queue.

Arguments

string
required
The name or ID of the work queue to preview

Options

The number of hours to look ahead; defaults to 1 hour
The name of the work pool that the work queue belongs to.
Specify an output format. Currently supports: json

prefect work-queue delete

Delete a work queue by ID.

Arguments

string
required
The name or ID of the work queue to delete

Options

The name of the work pool containing the work queue to delete.

prefect work-queue read-runs

Get runs in a work queue.Note that this will trigger an artificial poll of the work queue.

Arguments

string
required
The name or ID of the work queue to poll

Options

The name of the work pool containing the work queue to poll.