---
title: "Changes to Update session"
method: PATCH
path: "/api/sessions/{session_id}"
---

# Changes to Update session

`PATCH /api/sessions/{session_id}`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 3 of 3 revisions.

- **2026-07-17** `8eac348b2e66` — 2 info
- **2026-02-04** `0843dee5b725` — 1 info
- **2026-01-29** `c455806f620b` — 1 breaking

## Changes

- **2026-07-17** `8eac348b2e66` — 2 info
  - added the new optional request property `archived`
  - added the optional property `archived` to the response with the `200` status
- **2026-02-04** `0843dee5b725` — 1 info
  - endpoint added
- **2026-01-29** `c455806f620b` — 1 breaking
  - api removed without deprecation

---

[Operation](https://skmtc.dev/moonshotai/apis/kimi-code-cli-web-interface/docs/api/sessions/:session_id/patch.md) · [API](https://skmtc.dev/moonshotai/apis/kimi-code-cli-web-interface.md) · [Page](https://skmtc.dev/moonshotai/apis/kimi-code-cli-web-interface/changes/api/sessions/:session_id/patch)
