Create a chat session
POST /v1/sessions — Provision a new session id; the agent loop scopes per-session state (frozen snapshot, scenario cache, shadow recorder) t
POST /v1/sessions
Provision a new session id; the agent loop scopes per-session state (frozen snapshot, scenario cache, shadow recorder) to this id.
| Method | POST |
| Path | /v1/sessions |
| Auth | Authorization: Bearer <token> required when GATEWAY_AUTH_TOKEN is set |
| Category | sessions |
Request body
{ "origin": "web", "kind": "chat" }Response body
{ "id": "chat_abc", "origin": "web", "kind": "chat" }