Canonical: https://weaveos.com/reference/apache-airflow/list-dag-runs

1. [Software capabilities](https://weaveos.com/reference)
2. /[Apache Airflow](https://weaveos.com/reference/apache-airflow)
3. /How to list Apache Airflow DAG runs

[![](https://weaveos.com/reference/logos/apache-airflow.svg)Apache Airflow](https://weaveos.com/reference/apache-airflow)

# How to list Apache Airflow DAG runs

Use the Airflow 3 public REST API to inspect runs remotely. Use airflow dags list-runs from a configured Airflow environment for a local view.

Documentation reviewed November 27, 2026 · 2 methods with sources

## Ways to do it

1. [1API: GET /api/v2/dags/{dag\_id}/dagRuns](https://weaveos.com/reference/apache-airflow/list-dag-runs#method-1)
2. [2CLI: airflow dags list-runs](https://weaveos.com/reference/apache-airflow/list-dag-runs#method-2)

API

### GET /api/v2/dags/{dag\_id}/dagRuns

Read a page of runs for a DAG, including their state and timestamps. Use limit and offset to navigate the run history.

[Read source: Apache Airflow 3.4 public API get DAG runs](https://airflow.apache.org/docs/apache-airflow/3.4.0/stable-rest-api-ref.html#tag/DagRun/operation/get_dag_runs)

- Requirements

  An Airflow 3 API server, a valid bearer JWT, the DAG ID, and GET permission for the DAG.RUN resource under the configured auth manager.

- Limitations

  The endpoint defaults to a 50-run page. The deployment sets the API page-size cap, which defaults to 100.

Example shell

Copy

```
curl --fail -H "Authorization: Bearer $AIRFLOW_TOKEN" \
  "$AIRFLOW_BASE_URL/api/v2/dags/$DAG_ID/dagRuns?limit=50&offset=0"
```

CLI

### airflow dags list-runs

List runs for a DAG by ID. Filter by state or date and use JSON output for a script.

[Read source: Apache Airflow 3.4 CLI list-runs reference](https://airflow.apache.org/docs/apache-airflow/3.4.0/cli-and-env-variables-ref.html#list-runs)

- Requirements

  Airflow 3.4 CLI in an environment configured with read access to the deployment’s metadata database, plus the DAG ID.

- Limitations

  In Airflow 3.4, --limit selects the most recent matching runs, ordered by run\_after, after filters are applied.

Example shell

Copy

```
airflow dags list-runs "$DAG_ID" --state failed --limit 20 -o json
```

## More from Apache Airflow

[View all 1 Apache Airflow tasks](https://weaveos.com/reference/apache-airflow)

## The same task in other apps

- [![](https://weaveos.com/reference/logos/github.svg)GitHub](https://weaveos.com/reference/github)

  ### [List GitHub Actions workflow runs](https://weaveos.com/reference/github/list-actions-workflow-runs)

  Use the REST API for a filtered run history a script can page through. Use gh run list to check recent runs from the terminal.

  API, CLI

- [ADAzure DevOps](https://weaveos.com/reference/azure-devops)

  ### [List Azure DevOps pipeline runs](https://weaveos.com/reference/azure-devops/list-pipeline-runs)

  Inspect recent pipeline run metadata for a project and optionally constrain by pipeline, branch, status, result, or time order.

  API, CLI

- [![](https://weaveos.com/reference/logos/apache-superset.svg)Apache Superset](https://weaveos.com/reference/apache-superset)

  ### [List Apache Superset dashboards](https://weaveos.com/reference/apache-superset/list-dashboards)

  Use Superset’s dashboard API to page through dashboards your credentials can view. Open Dashboards in the Superset interface to browse the results and inspect charts.

  API, Interface

- [HHex](https://weaveos.com/reference/hex)

  ### [List Hex projects and inspect runs](https://weaveos.com/reference/hex/list-hex-projects-and-runs)

  Use Hex's Public API to list viewable projects and inspect a project run when an orchestration system needs notebook or data-app state.

  API
