v1

latestOpenAPI 3.1.02026-07-17182335.0 KB
sessions

Update session

Update a session (e.g., rename title or archive/unarchive).

patch/api/sessions/{session_id}

Path parameters

session_idstring uuid required

Request body

titlestring nullable
archivedboolean nullable

Archive or unarchive the session

Response

Successful Response

session_idstring uuid required

Session unique ID

titlestring required

Session title derived from kimi-cli history

last_updatedstring date-time required

Last updated timestamp

is_runningboolean

Whether the session is running

work_dirstring nullable

Working directory for the session

session_dirstring nullable

Session directory path

archivedboolean

Whether the session is archived