---
title: "Reschedule DAG-run with a new run ID"
method: POST
path: "/dag-runs/{name}/{dagRunId}/reschedule"
tags: ["dag-runs"]
---

# Reschedule DAG-run with a new run ID

`POST /dag-runs/{name}/{dagRunId}/reschedule`

## Request

- Base URL: `http://localhost/api/v1`
- URL: `http://localhost/api/v1/dag-runs/{name}/{dagRunId}/reschedule`
- Auth: one of:
  - HTTP bearer
  - HTTP basic
  - none

Launch a fresh DAG-run from a historic execution while reusing its stored parameters.

## 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
  - `dagRunId` string: Explicit run ID for the new DAG-run; if omitted a new ID is generated.
  - `dagName` string: Optional DAG name override for the new run.
  - `useCurrentDagFile` boolean: When true, reschedule from the current contents of the original DAG file instead of the stored historical YAML snapshot.

## Response `200`

Successfully scheduled a new DAG-run

- 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.

## Other responses

- `400`: Invalid request parameters
- `404`: Historic run not found
- `409`: Conflict (run ID already exists, or the historic run is ephemeral)
- `default`: Generic error response

## Changes

> 208 revisions in range; 1 not diffed.

- **2026-07-23** (v1) `75b8e91aaf57`: 12 warning
  - added the new `conflict` enum value to the `code` response property for the response status `400`
  - added the new `conflict` enum value to the `code` response property for the response status `404`
  - added the new `conflict` enum value to the `code` response property for the response status `409`
  - added the new `conflict` enum value to the `code` response property for the response status `default`
  - …8 more
- **2026-05-24** (v1) `8a2d5d3e9608`: 4 warning
  - added the new `rate_limited` enum value to the `code` response property for the response status `400`
  - added the new `rate_limited` enum value to the `code` response property for the response status `404`
  - added the new `rate_limited` enum value to the `code` response property for the response status `409`
  - added the new `rate_limited` enum value to the `code` response property for the response status `default`
- **2026-04-04** (v1) `7e3d66e08675`: 1 info
  - added the new optional request property `useCurrentDagFile`
- **2026-02-04** (v1) `a047d6ba27d5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/dagucloud/apis/dagu/changes/dag-runs/:name/:dagRunId/reschedule/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/742c8ecb39ce?raw)
