Task Runs
Read Task Run Counts By State
POST
/
api
/
ui
/
task_runs
/
count
Headers
x-prefect-api-version
string
Body
application/json
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.
Response
200 - application/json
COMPLETED
integer
default: 0PENDING
integer
default: 0RUNNING
integer
default: 0FAILED
integer
default: 0CANCELLED
integer
default: 0CRASHED
integer
default: 0PAUSED
integer
default: 0CANCELLING
integer
default: 0SCHEDULED
integer
default: 0Was this page helpful?