---
title: "Changes to Cancels a run that is `in_progress`."
method: POST
path: "/threads/{thread_id}/runs/{run_id}/cancel"
---

# Changes to Cancels a run that is `in_progress`.

`POST /threads/{thread_id}/runs/{run_id}/cancel`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 8 of 35 revisions.

- **2024-10-23** `b60d5559d515` — 2 breaking, 2 info
- **2024-09-12** `501122aa32ad` — 1 info
- **2024-08-29** `1dbac0e95bdb` — 1 info
- **2024-08-06** `4097c2f86beb` — 1 breaking, 1 info
- **2024-08-06** `c36d30a94622` — 1 warning, 2 info
- **2024-06-06** `ff436357b123` — 1 info
- **2024-06-03** `0577fd0d08da` — 1 info
- **2024-05-14** `363dd904e5d6` — 1 warning

## Changes

- **2024-10-23** `b60d5559d515` — 2 breaking, 2 info
  - added `subschema #1: Behavior` to the `response_format` response property `oneOf` list for the response status `200`
  - added `subschema #1: Behavior` to the `tool_choice` response property `oneOf` list for the response status `200`
  - removed `subschema #1` from the `response_format` response property `oneOf` list for the response status `200`
  - removed `subschema #1` from the `tool_choice` response property `oneOf` list for the response status `200`
- **2024-09-12** `501122aa32ad` — 1 info
  - the response property `tools/items/oneOf[subschema #2: FileSearch tool]/file_search/ranking_options/score_threshold` became required for the status `200`
- **2024-08-29** `1dbac0e95bdb` — 1 info
  - added the optional property `tools/items/oneOf[subschema #2: FileSearch tool]/file_search/ranking_options` to the response with the `200` status
- **2024-08-06** `4097c2f86beb` — 1 breaking, 1 info
  - added `#/components/schemas/ResponseFormatText, #/components/schemas/ResponseFormatJsonObject, #/components/schemas/ResponseFormatJsonSchema` to the `response_format` response property `oneOf` list for the response status `200`
  - removed `#/components/schemas/AssistantsApiResponseFormat` from the `response_format` response property `oneOf` list for the response status `200`
- **2024-08-06** `c36d30a94622` — 1 warning, 2 info
  - added the new `json_schema` enum value to the `response_format/oneOf[#/components/schemas/AssistantsApiResponseFormat]/type` response property for the response status `200`
  - added the optional property `tools/items/oneOf[subschema #3: Function tool]/function/strict` to the response with the `200` status
  - removed the `none` enum value from the `response_format/oneOf[subschema #1]/` response property for the response status `200`
- **2024-06-06** `ff436357b123` — 1 info
  - added the required property `parallel_tool_calls` to the response with the `200` status
- **2024-06-03** `0577fd0d08da` — 1 info
  - added the optional property `tools/items/oneOf[subschema #2: FileSearch tool]/file_search` to the response with the `200` status
- **2024-05-14** `363dd904e5d6` — 1 warning
  - added the new `incomplete` enum value to the `status` response property for the response status `200`

---

[Operation](https://skmtc.dev/openai/apis/openai-api-2/docs/threads/:thread_id/runs/:run_id/cancel/post.md) · [API](https://skmtc.dev/openai/apis/openai-api-2.md) · [Page](https://skmtc.dev/openai/apis/openai-api-2/changes/threads/:thread_id/runs/:run_id/cancel/post)
