Prefect home page
v3
Search or ask...
PrefectHQ/Prefect
PrefectHQ/Prefect
Search...
Navigation
Flows
Count Deployments By Flow
Documentation
APIs & SDK
Examples
Integrations
Contribute
Join our Community
Prefect Cloud
APIs & SDK
Overview
Python SDK Overview
REST API
REST API overview
Cloud API
Server API
Server API Overview
Root
Flows
POST
Create Flow
GET
Read Flow
DEL
Delete Flow
PATCH
Update Flow
POST
Count Flows
GET
Read Flow By Name
POST
Read Flows
POST
Paginate Flows
POST
Count Deployments By Flow
POST
Next Runs By Flow
Flow Runs
Task Runs
Flow Run States
Task Run States
Flow Run Notification Policies
Deployments
SavedSearches
Logs
Concurrency Limits
Concurrency Limits V2
Block types
Block documents
Work Pools
Task Workers
Work Queues
Artifacts
Block schemas
Block capabilities
Collections
Variables
GET
Create Csrf Token
Events
Automations
UI
Admin
CLI Reference
Flows
Count Deployments By Flow
Get deployment counts by flow id.
POST
/
api
/
ui
/
flows
/
count-deployments
200
422
{
}
Headers
​
x-prefect-api-version
string
Body
application/json
​
flow_ids
string[]
required
Response
200
200
422
application/json
Successful Response
​
{key}
integer
Was this page helpful?
Yes
No
Paginate Flows
Next Runs By Flow
200
422
{
}