Fetch Airflow 3 DAG version history and pin a backfill to a specific DAG bundle version

domain: airflow.apache.org · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Understand that Airflow 3 tracks DAG versions automatically whenever a DAG file changes; no opt-in configuration is required for the LocalDagBundle, while GitDagBundle versions are tied to git commits
  2. Query GET /api/v2/dags/{dag_id}/versions to list stored DAG versions; each entry contains a version_number and a created_at timestamp
  3. To trigger a backfill against a specific historical version, supply the version_number in the POST /api/v2/backfills request body under dag_version_id if the field is available in your Airflow release, or use the Airflow UI backfill dialog which exposes the version picker
  4. Verify the run used the intended version by checking the bundle_version field in the DagRun response object
  5. For GitDagBundle-backed DAGs, ensure the relevant git commit is still present in the repository history; deleted commits cannot be re-fetched by the bundle loader

Known gotchas

Related routes

Configure Airflow 3 DAG bundles to version and source DAGs from multiple repositories
data-engineering · 6 steps · unrated
Author Airflow DAGs that are safe to backfill
airflow · 4 steps · unrated
Trigger an Airflow 3 DAG run via the v2 REST API and retrieve the run status
airflow.apache.org · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans