---
title: "Retrieve execution history of a DAG"
method: GET
path: "/dags/{fileName}/dag-runs"
tags: ["dags"]
---

# Retrieve execution history of a DAG

`GET /dags/{fileName}/dag-runs`

Fetches history of DAG-runs created from this DAG definition

## Path parameters

- `fileName` string, regex, required — Name of the DAG file

## Query parameters

- `remoteNode` string

## Response `200`

A successful response

- object
  - `dagRuns` DAGRunDetails[], required — List of historical DAG-runs created from this DAG — unresolved $ref
  - `gridData` DAGGridItem[], required — Grid data for visualization
    - `name` string, required — Name of the step
    - `history` NodeStatus[], required — Status of the step ordered by time

## Other responses

- `default` — Generic error response

## Changes

- **2026-08-08** (v1) `baa17af029e5` — 7 warning, 7 info
  - removed the optional property `dagRuns/items/allOf[subschema #2]/nodes/items/incremental` from the response with the `200` status
  - removed the optional property `dagRuns/items/allOf[subschema #2]/onAbort/incremental` from the response with the `200` status
  - removed the optional property `dagRuns/items/allOf[subschema #2]/onExit/incremental` from the response with the `200` status
  - removed the optional property `dagRuns/items/allOf[subschema #2]/onFailure/incremental` from the response with the `200` status
  - …10 more
- **2026-08-07** (v1) `478671469a25` — 22 info
  - added the optional property `dagRuns/items/allOf[#/components/schemas/DAGRunSummary]/noReuse` to the response with the `200` status
  - added the optional property `dagRuns/items/allOf[subschema #2]/nodes/items/incremental` to the response with the `200` status
  - added the optional property `dagRuns/items/allOf[subschema #2]/nodes/items/step/inputs` to the response with the `200` status
  - added the optional property `dagRuns/items/allOf[subschema #2]/nodes/items/step/outputs/items/path` to the response with the `200` status
  - …18 more
- **2026-07-26** (v1) `f6dcf7250db7` — 2 info
  - added the optional property `dagRuns/items/allOf[subschema #2]/controllerEvents` to the response with the `200` status
  - added the optional property `dagRuns/items/allOf[subschema #2]/controllerTasks` to the response with the `200` status
- …earlier changes not shown

[Full history](https://skmtc.dev/dagucloud/apis/dagu/changes/dags/:fileName/dag-runs/get.md)

---

[API](https://skmtc.dev/dagucloud/apis/dagu.md) · [All operations](https://skmtc.dev/dagucloud/apis/dagu/llms.txt) · [OpenAPI document](https://skmtc.dev/dagucloud/apis/dagu/revisions/93cc41f2018a?raw)
