---
title: "Changes to Cancel Session Task"
method: POST
path: "/api/chat/sessions/{session_id}/cancel"
---

# Changes to Cancel Session Task

`POST /api/chat/sessions/{session_id}/cancel`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 4 of 406 revisions.

- **2026-04-09** `6349a8f6d56f`: 2 info
- **2026-04-09** `69fe2fd96efe`: 2 warning
- **2026-02-24** `8a7da255387f`: 1 warning
- **2026-02-19** `4ab15d701a1e`: 1 info

## Changes

- **2026-04-09** `6349a8f6d56f`: 2 info
  - 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-04-09** `69fe2fd96efe`: 2 warning
  - removed the optional property `detail/items/ctx` from the response with the `422` status
  - removed the optional property `detail/items/input` from the response with the `422` status
- **2026-02-24** `8a7da255387f`: 1 warning
  - removed the optional property `task_id` from the response with the `200` status
- **2026-02-19** `4ab15d701a1e`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/significant-gravitas/apis/autogpt-agent-server/docs/api/chat/sessions/:session_id/cancel/post.md) - [API](https://skmtc.dev/significant-gravitas/apis/autogpt-agent-server.md) - [Page](https://skmtc.dev/significant-gravitas/apis/autogpt-agent-server/changes/api/chat/sessions/:session_id/cancel/post)
