Apache Airflow · Schema

TaskInstanceState

All possible states that a Task Instance can be in. Note that None is also allowed, so always use this in a type hint with Optional.

Workflow OrchestrationData PipelineOpen SourceApacheDAGSchedulingETLData Engineering
View JSON Schema on GitHub

JSON Schema

airflow-task-instance-state-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/airflow/refs/heads/main/json-schema/airflow-task-instance-state-schema.json",
  "title": "TaskInstanceState",
  "description": "All possible states that a Task Instance can be in.\n\nNote that None is also allowed, so always use this in a type hint with Optional.",
  "type": "string",
  "enum": [
    "removed",
    "scheduled",
    "queued",
    "running",
    "success",
    "restarting",
    "failed",
    "up_for_retry",
    "up_for_reschedule",
    "upstream_failed",
    "skipped",
    "deferred"
  ]
}