---
title: "Changes to Create a new session"
method: POST
path: "/api/sessions/"
---

# Changes to Create a new session

`POST /api/sessions/`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 2 of 3 revisions.

- **2026-07-17** `8eac348b2e66` — 2 info
- **2026-01-29** `c455806f620b` — 2 warning

## Changes

- **2026-07-17** `8eac348b2e66` — 2 info
  - added the new optional request property `anyOf[subschema #1: CreateSessionRequest]/create_dir`
  - added the optional property `archived` to the response with the `200` status
- **2026-01-29** `c455806f620b` — 2 warning
  - removed the request property `anyOf[subschema #1: CreateSessionRequest]/create_dir`
  - removed the optional property `archived` from the response with the `200` status

---

[Operation](https://skmtc.dev/moonshotai/apis/kimi-code-cli-web-interface/docs/api/sessions/post.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/post)
