Flow Run States
Read Flow Run State
Get a flow run state by id.
GET
/
api
/
flow_run_states
/
{id}
Headers
x-prefect-api-version
string
Path Parameters
id
string
requiredThe flow run state id
Response
200 - application/json
Represents the state of a run.
type
enum<string>
requiredEnumeration of state types.
Available options:
SCHEDULED
, PENDING
, RUNNING
, COMPLETED
, FAILED
, CANCELLED
, CRASHED
, PAUSED
, CANCELLING
id
string
name
string | null
timestamp
string
message
string | null
data
any | null
Data associated with the state, e.g. a result. Content must be storable as JSON.
state_details
object
Was this page helpful?