---
title: "Mark the given workflow to be rerun"
method: PATCH
path: "/ensemble/{em-name}/workflows/{wf-name}/rerun"
tags: ["Workflow"]
---

# Mark the given workflow to be rerun

`PATCH /ensemble/{em-name}/workflows/{wf-name}/rerun`

Sets the state of the given workflow to "QUEUED". The ensemble manager will
then proceed to rerun the workflow. This operation is asynchronous
and does not happen immediately.

## Response `204`

No Content

## Other responses

- `400` — Bad request
- `401` — Not authenticated
- `404` — Resource not found
- `default` — Internal server error

## Changes

- **2026-07-17** `bc40e50a342a` — 1 info
  - api tag `Ensemble` removed
- **2021-01-12** `c4d83189c07b` — 1 info
  - endpoint added
- **2021-01-11** `c605463405d9` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/pegasus-isi/apis/ensemble-manager-api/changes/ensemble/:em-name/workflows/:wf-name/rerun/patch.md)

---

[API](https://skmtc.dev/pegasus-isi/apis/ensemble-manager-api.md) · [All operations](https://skmtc.dev/pegasus-isi/apis/ensemble-manager-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pegasus-isi/ensemble-manager-api/revisions/bc40e50a342a/schema)
