---
title: "Changes to Cancel a task"
method: POST
path: "/v1/tasks/{taskId}/cancel"
---

# Changes to Cancel a task

`POST /v1/tasks/{taskId}/cancel`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 4 of 8 revisions.

- **2026-10-30** `11052d3a9e59`: 1 info
- **2026-10-29** `4baea94e5dbc`: 2 breaking, 5 info
- **2026-10-09** `135cef4f7586`: 4 breaking, 1 warning, 2 info
- **2026-09-05** `3b6913568906`: 1 warning

## Changes

- **2026-10-30** `11052d3a9e59`: 1 info
  - added the optional property `messages/items/parts/items/anyOf[subschema #3]/versionId` to the response with the `200` status
- **2026-10-29** `4baea94e5dbc`: 2 breaking, 5 info
  - the response property `task/pendingInteraction/anyOf[subschema #1]/prompt` became nullable for the status `200`
  - the response property `task/projectId` became nullable for the status `200`
  - added `subschema #3, subschema #4, subschema #5, subschema #7` to the `messages/items/parts/items/` response property `anyOf` list for the response status `200`
  - removed `subschema #3, subschema #4, subschema #5, subschema #7` from the `messages/items/parts/items/` response property `anyOf` list for the response status `200`
  - response property `task/pendingInteraction/anyOf[subschema #1]/prompt` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `task/projectId` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - the `messages/items/createdAt` response's property pattern was changed from `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$` to `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$` for the status `200`
- **2026-10-09** `135cef4f7586`: 4 breaking, 1 warning, 2 info
  - the `task/model` response's property type changed from `object` to no type for status `200`
  - removed the required property `task/model/effort` from the response with the `200` status
  - removed the required property `task/model/fast` from the response with the `200` status
  - removed the required property `task/model/slug` from the response with the `200` status
  - added the new `idle` enum value to the `task/status` response property for the response status `200`
  - added the optional property `task/executionMode` to the response with the `200` status
  - added `subschema #1, subschema #2` to the `task/model` response property `anyOf` list for the response status `200`
- **2026-09-05** `3b6913568906`: 1 warning
  - added the new `max` enum value to the `task/model/effort/anyOf[subschema #1]/` response property for the response status `200`

---

[Operation](https://skmtc.dev/adam/apis/adam-api/docs/v1/tasks/:taskId/cancel/post.md) - [API](https://skmtc.dev/adam/apis/adam-api.md) - [Page](https://skmtc.dev/adam/apis/adam-api/changes/v1/tasks/:taskId/cancel/post)
