curl -X POST --user "airflow:airflow" -H 'Content-Type: application/json' -d '{"logical_date":"2025-01-30T00:00:00Z"}' "h
ttp://localhost:8081/api/v1/dags/HelloWorld/dagRuns"
{
"conf": {},
"dag_id": "HelloWorld",
"dag_run_id": "manual__2025-01-30T00:00:00+00:00",
"data_interval_end": "2025-01-29T02:00:00+00:00",
"data_interval_start": "2025-01-28T02:00:00+00:00",
"end_date": null,
"execution_date": "2025-01-30T00:00:00+00:00",
"external_trigger": true,
"last_scheduling_decision": null,
"logical_date": "2025-01-30T00:00:00+00:00",
"note": null,
"run_type": "manual",
"start_date": null,
"state": "queued"
}
curl -X GET --user "monitor:monitor_user1" http://localhost:8081/api/v1/dags | jq
curl -X GET --user "monitor:monitor_user1" "http://localhost:8081/api/v1/dags?paused=False" | jq
curl -X GET --user "airflow:airflow" "http://localhost:8081/api/v1/variables" | jq
Airflow Docker Container
airflow config get-value api auth_backends
airflow variables export variables.json.
airflow connections export connections.json