airflow dags state <dag_id> <execution_date>

Get the status of a dag run

Arguments

NameDescription
dag_idThe id of the dag
execution_dateThe execution date of the DAG

Options

NameDescription
-h, --helpShow this help message and exit
-S, --subdir <subdir>File location or directory from which to look for the dag. Defaults to '[AIRFLOW_HOME]/dags' where [AIRFLOW_HOME] is the value you set for 'AIRFLOW_HOME' config you set in 'airflow.cfg'