get_dag_run
Retrieve detailed execution information for a specific Airflow DAG run, including status, timing, configuration, and metadata.
Instructions
Get detailed information about a specific DAG run execution.
Use this tool when the user asks about:
"Show me details for DAG run X" or "What's the status of run Y?"
"When did this run start/finish?" or "How long did run Z take?"
"Why did this run fail?" or "Get execution details for run X"
"What was the configuration for this run?" or "Show me run metadata"
"What's the state of DAG run X?" or "Did run Y succeed?"
Returns detailed information about a specific DAG run execution including:
dag_run_id: Unique identifier for this execution
dag_id: Which DAG this run belongs to
state: Current state (running, success, failed, queued, etc.)
execution_date: When this run was scheduled to execute
start_date: When execution actually started
end_date: When execution completed (if finished)
duration: How long the run took (in seconds)
run_type: Type of run (manual, scheduled, backfill, etc.)
conf: Configuration parameters passed to this run
external_trigger: Whether this was triggered externally
data_interval_start: Start of the data interval
data_interval_end: End of the data interval
last_scheduling_decision: Last scheduling decision timestamp
note: Optional note attached to the run
Args: dag_id: The ID of the DAG (e.g., "example_dag") dag_run_id: The ID of the DAG run (e.g., "manual__2024-01-01T00:00:00+00:00")
Returns: JSON with complete details about the specified DAG run
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dag_id | Yes | ||
| dag_run_id | Yes |