Skip to main content
The airflow command triggers an existing Airflow DAG.
nx1 airflow \
  --dag <dag-name> \
  --url <airflow-base-url> \
  --username <airflow-username>
  • --conf string optional: DAG run config.
  • --dag string required: DAG name.
  • --debug boolean optional: Enable debug logging.
  • --password string optional: Airflow password.
  • --url string required: Airflow base URL.
  • --username string required: Airflow username.
  • --api-key string optional: API key or the NX1_API_KEY variable.
  • --config-file string optional: YAML config file.
  • --help -h optional: Shows help messages and exit.
  • --host string optional: API host.
  • --no-verify-ssl optional: Disables SSL verification.
  • --output -o optional: Output format. Allowed values: json, yaml, or table.
  • --profile -p string optional: Profile name from ~/.nx1/profiles.
  • --timeout integer optional: Requests when to timeout. Default is 30.
  • --verbose -v optional: Verbose output.