POST
/
api
/
work_pools
/
filter

Headers

x-prefect-api-version
string

Body

application/json
limit
integer

Defaults to PREFECT_API_DEFAULT_LIMIT if not provided.

offset
integer
default:
0
Required range: x > 0
work_pools
object | null

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

Response

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

The name of the work pool.

type
string
required

The work pool type.

updated
string | null
required
base_job_template
object

The work pool's base job template.

concurrency_limit
integer | null

A concurrency limit for the work pool.

Required range: x > 0
default_queue_id
string | null

The id of the pool's default queue.

description
string | null

A description of the work pool.

is_paused
boolean
default:
false

Pausing the work pool stops the delivery of all work.

status
enum<string> | null

The current status of the work pool.

Available options:
READY,
NOT_READY,
PAUSED