Task Run States
Read Task Run States
Get states associated with a task run.
GET
/
api
/
task_run_states
/
Headers
x-prefect-api-version
string
Query Parameters
task_run_id
string
requiredResponse
200 - application/json
id
string
type
enum<string>
requiredEnumeration of state types.
Available options:
SCHEDULED
, PENDING
, RUNNING
, COMPLETED
, FAILED
, CANCELLED
, CRASHED
, PAUSED
, CANCELLING
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?