POST
/
api
/
flow_runs
/
history

Headers

x-prefect-api-version
string

Body

application/json
history_start
string
required

The history's start time.

history_end
string
required

The history's end time.

history_interval
number
required

The size of each history interval, in seconds. Must be at least 1 second.

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_queues
object

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

Response

200 - application/json
interval_start
string
required

The start date of the interval.

interval_end
string
required

The end date of the interval.

states
object[]
required

A list of state histories during the interval.