POST
/
api
/
deployments
/
paginate

Headers

x-prefect-api-version
string

Body

application/json
page
integer
default: 1
flows
object

Filter for flows. Only flows matching all criteria will be returned.

flow_runs
object

Filter flow runs. Only flow runs matching all criteria will be returned

task_runs
object

Filter task runs. Only task runs matching all criteria will be returned

deployments
object

Filter for deployments. Only deployments matching all criteria will be returned.

work_pools
object

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

work_pool_queues
object

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

sort
enum<string>

Defines deployment sorting options.

Available options:
CREATED_DESC,
UPDATED_DESC,
NAME_ASC,
NAME_DESC
limit
integer

Defaults to PREFECT_API_DEFAULT_LIMIT if not provided.

Response

200 - application/json
results
object[]
required
count
integer
required
limit
integer
required
pages
integer
required
page
integer
required