Apache Airflow · Schema

DAGRunResponse

DAG Run serializer for responses.

Workflow OrchestrationData PipelineOpen SourceApacheDAGSchedulingETLData Engineering

Properties

Name Type Description
dag_run_id string
dag_id string
logical_date object
queued_at object
start_date object
end_date object
duration object
data_interval_start object
data_interval_end object
run_after string
last_scheduling_decision object
run_type object
state object
triggered_by object
triggering_user_name object
conf object
note object
dag_versions array
bundle_version object
dag_display_name string
partition_key object
View JSON Schema on GitHub

JSON Schema

airflow-dag-run-response-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-dag-run-response-schema.json",
  "title": "DAGRunResponse",
  "description": "DAG Run serializer for responses.",
  "type": "object",
  "properties": {
    "dag_run_id": {
      "type": "string",
      "title": "Dag Run Id"
    },
    "dag_id": {
      "type": "string",
      "title": "Dag Id"
    },
    "logical_date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Logical Date"
    },
    "queued_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Queued At"
    },
    "start_date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Start Date"
    },
    "end_date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "End Date"
    },
    "duration": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Duration"
    },
    "data_interval_start": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Data Interval Start"
    },
    "data_interval_end": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Data Interval End"
    },
    "run_after": {
      "type": "string",
      "format": "date-time",
      "title": "Run After"
    },
    "last_scheduling_decision": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Scheduling Decision"
    },
    "run_type": {
      "$ref": "#/components/schemas/DagRunType"
    },
    "state": {
      "$ref": "#/components/schemas/DagRunState"
    },
    "triggered_by": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/DagRunTriggeredByType"
        },
        {
          "type": "null"
        }
      ]
    },
    "triggering_user_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Triggering User Name"
    },
    "conf": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Conf"
    },
    "note": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Note"
    },
    "dag_versions": {
      "items": {
        "$ref": "#/components/schemas/DagVersionResponse"
      },
      "type": "array",
      "title": "Dag Versions"
    },
    "bundle_version": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Bundle Version"
    },
    "dag_display_name": {
      "type": "string",
      "title": "Dag Display Name"
    },
    "partition_key": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Partition Key"
    }
  },
  "required": [
    "dag_run_id",
    "dag_id",
    "logical_date",
    "queued_at",
    "start_date",
    "end_date",
    "duration",
    "data_interval_start",
    "data_interval_end",
    "run_after",
    "last_scheduling_decision",
    "run_type",
    "state",
    "triggered_by",
    "triggering_user_name",
    "conf",
    "note",
    "dag_versions",
    "bundle_version",
    "dag_display_name",
    "partition_key"
  ]
}