---
title: "Changes to Cancel a run by id"
method: POST
path: "/v1/runs/{run_id}/cancel"
---

# Changes to Cancel a run by id

`POST /v1/runs/{run_id}/cancel`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 4 of 139 revisions.

- **2026-10-20** `539f04093540`: 1 warning, 1 info
- **2026-06-09** `e5a0a7c3a5c6`: 2 info
- **2026-06-08** `3a3616091b66`: 7 info
- **2026-02-04** `a8899e7707c4`: 1 info

## Changes

- **2026-10-20** `539f04093540`: 1 warning, 1 info
  - deleted the `header` request parameter `x-api-key`
  - the endpoint scheme security `ApiKeyAuth` was added to the API
- **2026-06-09** `e5a0a7c3a5c6`: 2 info
  - api tag `Runs` added
  - api tag `Agents` removed
- **2026-06-08** `3a3616091b66`: 7 info
  - api tag `Agents` added
  - api tag `Agent` removed
  - api tag `Workflows` removed
  - `header` request parameter `x-api-key` list-of-types was widened by adding types `null`
  - for the `header` request parameter `x-api-key`, the type was generalized from `string` to no type
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-02-04** `a8899e7707c4`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/skyvern-ai/apis/skyvern-api-2/docs/v1/runs/:run_id/cancel/post.md) - [API](https://skmtc.dev/skyvern-ai/apis/skyvern-api-2.md) - [Page](https://skmtc.dev/skyvern-ai/apis/skyvern-api-2/changes/v1/runs/:run_id/cancel/post)
