Skip to content

Add API endpoint that lets you see what happened in the backfill #46250

Closed

Description

@dstandish

Body

We can see the backfill entity but it does not show what runs were trigger with it etc.

Committer

  • I acknowledge that I am a maintainer/committer of the Apache Airflow project.

Activity

  1. added
    kind:metaHigh-level information important to the community
    on Jan 29, 2025
  2. vatsrahul1001 commented on Feb 10, 2025

    @vatsrahul1001
    Contributor

    As discussd with @dstandish this is only good to have. I will look into this later

  3. shivaam commented on Apr 9, 2026

    @shivaam
    Contributor

    Hi @dstandish — I'd like to pick this up.

    I started with a prototype in #64089 (adding state counts directly to BackfillResponse), but based on feedback from @uranusjr and thinking through the design, I'm going to take a different approach:

    Plan: New GET /backfills/{backfill_id}/dag_runs endpoint

    This would return the BackfillDagRun entries with their linked DagRun state, logical_date, and exception_reason (for skipped slots). The UI can then compute progress counts client-side.

    Benefits over enriching BackfillResponse:

    • Keeps the backfill model stable
    • Returns the actual dag run data (not just aggregated counts)
    • Enables linking individual dag runs to backfills in the UI
    • Supports future CLI airflow backfill status use case

    I'll close #64089 and open a new PR with this approach. Let me know if the approach makes sense to you.

  4. shivaam commented on May 23, 2026

    @shivaam
    Contributor

    @dstandish published a PR for adding get backfill dag runs api.
    #67381

  5. added a commit that references this issue on May 26, 2026
    376f5f5
  6. added a commit that references this issue on Jun 27, 2026
    bdc0bcc
  7. added a commit that references this issue on Jul 10, 2026
    34aa8b6
  8. added 2 commits that reference this issue on Jul 20, 2026
    6f88f29
    2b68a62
  9. added a commit that references this issue on Jul 21, 2026
    89e76b2
  10. added a commit that references this issue on Jul 22, 2026
    ffe49c7
  11. added a commit that references this issue on Jul 30, 2026
    179b1f0
  12. added a commit that references this issue on Aug 5, 2026
    bedaeae
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:APIAirflow's REST/HTTP APIarea:backfillSpecifically for backfill relatedkind:metaHigh-level information important to the community

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions