---
title: "reset a workflow"
method: POST
path: "/api/v1/workflow/reset"
---

# reset a workflow

`POST /api/v1/workflow/reset`

## Request body

- WorkflowResetRequest
  - `workflowId` string, required
  - `workflowRunId` string
  - `resetType` 'HISTORY_EVENT_ID' | 'BEGINNING' | 'HISTORY_EVENT_TIME' | 'STATE_ID' | 'STATE_EXECUTION_ID', required
  - `historyEventId` integer
  - `reason` string
  - `historyEventTime` string
  - `stateId` string
  - `stateExecutionId` string
  - `skipSignalReapply` boolean
  - `skipUpdateReapply` boolean

## Response `200`

successful operation

- WorkflowResetResponse
  - `workflowRunId` string, required

## Other responses

- `400` — Invalid input

## Changes

- **2024-12-02** `893515ea6d10` — 1 info
  - added the new optional request property `skipUpdateReapply`
- **2023-07-05** `b341064dfc4b` — 1 warning
  - added the new `LONG_POLL_TIME_OUT_SUB_STATUS` enum value to the `subStatus` response property for the response status `400`
- **2023-04-15** `86630172940f` — 1 warning, 3 info
  - added the new `WORKER_API_ERROR` enum value to the `subStatus` response property for the response status `400`
  - added the optional property `originalWorkerErrorDetail` to the response with the `400` status
  - added the optional property `originalWorkerErrorStatus` to the response with the `400` status
  - added the optional property `originalWorkerErrorType` to the response with the `400` status
- **2023-01-12** `f7d20041860e` — 3 warning
  - added the new `UNCATEGORIZED_SUB_STATUS` enum value to the `subStatus` response property for the response status `400`
  - added the new `WORKFLOW_ALREADY_STARTED_SUB_STATUS` enum value to the `subStatus` response property for the response status `400`
  - added the new `WORKFLOW_NOT_EXISTS_SUB_STATUS` enum value to the `subStatus` response property for the response status `400`
- …earlier changes not shown

[Full history](https://skmtc.dev/indeedeng/apis/workflow-apis/changes/api/v1/workflow/reset/post.md)

---

[API](https://skmtc.dev/indeedeng/apis/workflow-apis.md) · [All operations](https://skmtc.dev/indeedeng/apis/workflow-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/indeedeng/workflow-apis/revisions/fe9c7606824c/schema)
