POST
/
api
/
work_pools
/
filter

Headers

x-prefect-api-version
string

Body

application/json
work_pools
object | null

Filter work pools. Only work pools matching all criteria will be returned

offset
integer
default: 0
limit
integer

Defaults to PREFECT_API_DEFAULT_LIMIT if not provided.

Response

200 - application/json
id
string
created
string | null
updated
string | null
name
string
required

The name of the work pool.

description
string | null

A description of the work pool.

type
string
required

The work pool type.

base_job_template
object

The work pool's base job template.

is_paused
boolean
default: false

Pausing the work pool stops the delivery of all work.

concurrency_limit
integer | null

A concurrency limit for the work pool.

status
enum<string> | null

The current status of the work pool.

Available options:
READY,
NOT_READY,
PAUSED
default_queue_id
string | null

The id of the pool's default queue.