GET
/
api
/
task_run_states
/

Headers

x-prefect-api-version
string

Query Parameters

task_run_id
string
required

Response

200 - application/json
id
string
type
enum<string>
required

Enumeration 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