---
title: "[Deprecated] Reset the latest workflow run"
method: POST
path: "/workflow/{id}/reset"
deprecated: true
---

# \[Deprecated\] Reset the latest workflow run

`POST /workflow/{id}/reset`

> **Deprecated.**

Resets the latest run. Deprecated; use `POST /workflow/{id}/runs/{rid}/reset` to target a specific run. Scheduled for removal after 2026-07-16.

## Path parameters

- `id` string, required

## Request body

- ResetWorkflowRequest
  - `stepName` string, required — The name of the step to reset after
  - `reason` string — Optional reason for the reset

## Response `200`

The workflow was reset successfully

- ResetWorkflowResponse
  - `workflowId` string — The original workflow ID
  - `runId` string — The run ID of the new execution created by the reset

## Other responses

- `400` — Invalid request body, query, or pagination token
- `404` — Workflow execution, workflow type, or catalog not found
- `409` — Workflow run is in a state that conflicts with the requested operation (e.g. operating on an already-terminal run, or resetting to an incomplete step).
- `500` — Internal server error (e.g. Temporal connection failure)

## Changes

- **2026-04-24** `01552bfa9579` — 2 breaking, 3 warning
  - added `#/components/schemas/ValidationErrorResponse, #/components/schemas/ErrorResponse` to the response body `oneOf` list for the response status `400`
  - the response's body type changed from `object` to no type for status `400`
  - removed the optional property `error` from the response with the `400` status
  - removed the optional property `issues` from the response with the `400` status
  - …1 more
- **2026-04-17** `a3368f919949` — 1 info
  - endpoint deprecated
- **2026-03-13** `0f0e49049ef1` — 1 breaking, 5 info
  - the response's body type changed from no type to `object` for status `400`
  - endpoint reactivated
  - removed `#/components/schemas/ValidationErrorResponse, #/components/schemas/ErrorResponse` from the response body `oneOf` list for the response status `400`
  - added the optional property `error` to the response with the `400` status
  - …2 more

[Change history](https://skmtc.dev/growthxai/apis/output-ai-api/changes/workflow/:id/reset/post.md)

---

[API](https://skmtc.dev/growthxai/apis/output-ai-api.md) · [All operations](https://skmtc.dev/growthxai/apis/output-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/growthxai/output-ai-api/revisions/09a49e598435/schema)
