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: 0
PENDING
integer
default: 0
RUNNING
integer
default: 0
FAILED
integer
default: 0
CANCELLED
integer
default: 0
CRASHED
integer
default: 0
PAUSED
integer
default: 0
CANCELLING
integer
default: 0
SCHEDULED
integer
default: 0