DAGRunResponse is a JSON Structure definition published by Apache Airflow, describing 21 properties, of which 21 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/airflow/refs/heads/main/json-structure/airflow-dag-run-response-structure.json",
"name": "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": "datetime"
},
{
"type": "null"
}
],
"title": "Logical Date"
},
"queued_at": {
"anyOf": [
{
"type": "datetime"
},
{
"type": "null"
}
],
"title": "Queued At"
},
"start_date": {
"anyOf": [
{
"type": "datetime"
},
{
"type": "null"
}
],
"title": "Start Date"
},
"end_date": {
"anyOf": [
{
"type": "datetime"
},
{
"type": "null"
}
],
"title": "End Date"
},
"duration": {
"anyOf": [
{
"type": "double"
},
{
"type": "null"
}
],
"title": "Duration"
},
"data_interval_start": {
"anyOf": [
{
"type": "datetime"
},
{
"type": "null"
}
],
"title": "Data Interval Start"
},
"data_interval_end": {
"anyOf": [
{
"type": "datetime"
},
{
"type": "null"
}
],
"title": "Data Interval End"
},
"run_after": {
"type": "datetime",
"title": "Run After"
},
"last_scheduling_decision": {
"anyOf": [
{
"type": "datetime"
},
{
"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"
]
}