Skip to main content
Create a chat session. Sessions hold multi-turn messages and serve as the source for layered chat memory distillation (L0–L3).

Endpoint

Authentication

Authorization: Bearer <jwt> or X-API-Key <sk_...>. Minimum role: contributor.

Path parameters

string
required
Workspace id.

Request body

string
Session title; server-decided when omitted.

Response

string
Session id (sess_...).
string
Owning workspace id.
string
Owner user id.
string
Title.
string
Creation time (RFC3339).
string
Update time (RFC3339).

Example