POST
/
api
/
flows
/
paginate
{
  "results": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "created": "2023-11-07T05:31:56Z",
      "updated": "2023-11-07T05:31:56Z",
      "name": "my-flow",
      "tags": [
        "tag-1",
        "tag-2"
      ],
      "labels": {
        "key": "value1",
        "key2": 42
      }
    }
  ],
  "count": 123,
  "limit": 123,
  "pages": 123,
  "page": 123
}

Headers

x-prefect-api-version
string

Body

application/json
page
integer
default:
1
Required range: x > 1
flows
object | null

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

flow_runs
object | null

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

task_runs
object | null

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

deployments
object | null

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

work_pools
object | null

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

sort
enum<string>

Defines flow 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
Successful Response
results
object[]
required
count
integer
required
limit
integer
required
pages
integer
required
page
integer
required