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

---

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