Apache Airflow · JSON Structure

Airflow Task Instance State Structure

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.

Type: string Properties: 0
Workflow OrchestrationData PipelineOpen SourceApacheDAGSchedulingETLData Engineering

TaskInstanceState is a JSON Structure definition published by Apache Airflow. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/airflow/refs/heads/main/json-structure/airflow-task-instance-state-structure.json",
  "name": "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"
  ]
}