Apache Airflow · Schema

BasicDAGRun

BasicDAGRun schema from Apache Airflow API

ApacheDAGData PipelineETLOpen SourceOrchestrationPythonSchedulingWorkflow

Properties

Name Type Description
dag_id string
data_interval_end string
data_interval_start string
end_date string
logical_date string The logical date (previously called execution date). This is the time or interval covered by this DAG run, according to the DAG definition. The value of this field can be set only when creating the ob
run_id string Run ID.
start_date string The start time. The time when DAG run was actually created. *Changed in version 2.1.3*: Field becomes nullable.
state object
View JSON Schema on GitHub

JSON Schema

openapi.yaml-basic-dag-run-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-airflow/refs/heads/main/json-schema/openapi.yaml-basic-dag-run-schema.json",
  "title": "BasicDAGRun",
  "description": "BasicDAGRun schema from Apache Airflow API",
  "type": "object",
  "properties": {
    "dag_id": {
      "readOnly": true,
      "type": "string"
    },
    "data_interval_end": {
      "format": "date-time",
      "nullable": true,
      "readOnly": true,
      "type": "string"
    },
    "data_interval_start": {
      "format": "date-time",
      "nullable": true,
      "readOnly": true,
      "type": "string"
    },
    "end_date": {
      "format": "date-time",
      "nullable": true,
      "readOnly": true,
      "type": "string"
    },
    "logical_date": {
      "description": "The logical date (previously called execution date). This is the time or interval covered by\nthis DAG run, according to the DAG definition.\n\nThe value of this field can be set only when creating the object. If you try to modify the\nfield of an existing object, the request fails with an BAD_REQUEST error.\n\nThis together with DAG_ID are a unique key.\n\n*New in version 2.2.0*\n",
      "format": "date-time",
      "type": "string"
    },
    "run_id": {
      "description": "Run ID.\n",
      "type": "string"
    },
    "start_date": {
      "description": "The start time. The time when DAG run was actually created.\n\n*Changed in version 2.1.3*: Field becomes nullable.\n",
      "format": "date-time",
      "nullable": true,
      "readOnly": true,
      "type": "string"
    },
    "state": {
      "$ref": "#/components/schemas/DagState"
    }
  }
}