Apache Airflow · JSON Structure

Airflow Dag Run State Structure

All possible states that a DagRun can be in. These are "shared" with TaskInstanceState in some parts of the code, so please ensure that their values always match the ones with the same name in TaskInstanceState.

Type: string Properties: 0
Workflow OrchestrationData PipelineOpen SourceApacheDAGSchedulingETLData Engineering

DagRunState 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-dag-run-state-structure.json",
  "name": "DagRunState",
  "description": "All possible states that a DagRun can be in.\n\nThese are \"shared\" with TaskInstanceState in some parts of the code,\nso please ensure that their values always match the ones with the\nsame name in TaskInstanceState.",
  "type": "string",
  "enum": [
    "queued",
    "running",
    "success",
    "failed"
  ]
}