---
title: "Stop a specific workflow run"
method: PATCH
path: "/workflow/{id}/runs/{rid}/stop"
---

# Stop a specific workflow run

`PATCH /workflow/{id}/runs/{rid}/stop`

## Path parameters

- `id` string, required
- `rid` string, uuid, required

## Response `200`

The workflow run was stopped

- StopWorkflowResponse
  - `workflowId` string
  - `runId` string

## 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 added
- **2026-03-13** `0f0e49049ef1` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/growthxai/apis/output-ai-api/changes/workflow/:id/runs/:rid/stop/patch.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)
