---
title: "Run edited DAG retry"
method: POST
path: "/dag-runs/{name}/{dagRunId}/edit-retry"
tags: ["dag-runs"]
---

# Run edited DAG retry

`POST /dag-runs/{name}/{dagRunId}/edit-retry`

Creates a new DAG-run from an edited DAG definition while preserving outputs from selected skipped steps.

## Path parameters

- `name` string, regex, required — Name of the DAG
- `dagRunId` string, required — Unique identifier for the DAG-run. The special value 'latest' can be used to reference the most recent DAG-run.

## Query parameters

- `remoteNode` string

## Request body

- object
  - `spec` string, required — Edited DAG specification in YAML format.
  - `dagName` string — Optional DAG name override for the edited retry run.
  - `skipSteps` string[] — Steps to mark skipped while preserving their previous output variables.

## Response `200`

Successfully launched edited retry

- object
  - `dagRunId` string, required — Unique identifier for the DAG-run. The special value 'latest' can be used to reference the most recent DAG-run.
  - `queued` boolean, required — Indicates whether the run was queued instead of starting immediately.
  - `skippedSteps` string[], required
  - `startedSteps` string[], required

## Other responses

- `default` — Generic error response

## Changes

- **2026-05-24** (v1) `8a2d5d3e9608` — 1 warning
  - added the new `rate_limited` enum value to the `code` response property for the response status `default`
- **2026-04-30** (v1) `50e1d517afc1` — 1 info
  - removed the `rate_limited` enum value from the `code` response property for the response status `default`

[Change history](https://skmtc.dev/dagucloud/apis/dagu/changes/dag-runs/:name/:dagRunId/edit-retry/post.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/c5b8d495669e?raw)
