get_dag_run_status
Retrieve the latest run status for a DAG, including state, execution date, and duration. Quickly check if a DAG run succeeded or failed.
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 |