state

Definition

Shows the status of a DAG run.

Usage

$ airflow dags state [-h] [-S SUBDIR] [-v] dag_id execution_date

Arguments

Parameter Description

dag_id

The ID of the DAG

-S, --subdir

File or directory location for DAGs. Defaults to [AIRFLOW_HOME]/dags, where [AIRFLOW_HOME] is the value set for AIRFLOW_HOME config in airflow.cfg

execution_date

Date of the DAG execution

-h, --help

Print out the help manual for this command

-v, --verbose

Make logging output more verbose

Examples

To get the status of a DAG run, execute the following:

$ airflow dags state tutorial 04.04.2025
Found a mistake? Seleсt text and press Ctrl+Enter to report it