v1

latestOpenAPI 3.1.02026-07-17182335.0 KB
sessions

Create a new session

Create a new session.

post/api/sessions/

Request body

work_dirstring nullable
create_dirboolean

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