get_dag_run_status
Retrieve the latest run state, execution date, and duration for a specific Airflow DAG using its ID.
Instructions
Get the latest run status for a specific DAG.
Args:
dag_id: The DAG identifier.
Returns the state, execution date, and duration of the most recent run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dag_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |