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

# stop a workflow

`POST /api/v1/workflow/stop`

## Request body

- WorkflowStopRequest
  - `workflowId` string, required
  - `workflowRunId` string
  - `reason` string
  - `stopType` 'CANCEL' | 'TERMINATE' | 'FAIL'

## Response `200`

successful operation

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