---
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-21** (v1) `4a98622e8b7e` — 7 info
  - added the optional property `dagRuns/items/allOf[subschema #2]/nodes/items/step/dependencies` to the response with the `200` status
  - added the optional property `dagRuns/items/allOf[subschema #2]/onAbort/step/dependencies` to the response with the `200` status
  - added the optional property `dagRuns/items/allOf[subschema #2]/onExit/step/dependencies` to the response with the `200` status
  - added the optional property `dagRuns/items/allOf[subschema #2]/onFailure/step/dependencies` to the response with the `200` status
  - …3 more
- **2026-08-16** (v1) `f8982f33e540` — 7 info
  - added the optional property `dagRuns/items/allOf[subschema #2]/nodes/items/agentSession` to the response with the `200` status
  - added the optional property `dagRuns/items/allOf[subschema #2]/onAbort/agentSession` to the response with the `200` status
  - added the optional property `dagRuns/items/allOf[subschema #2]/onExit/agentSession` to the response with the `200` status
  - added the optional property `dagRuns/items/allOf[subschema #2]/onFailure/agentSession` to the response with the `200` status
  - …3 more
- …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-service-production.skmtc.workers.dev/v1/apis/dagucloud/dagu/revisions/6f043af8f6d3/schema)
