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 by default (configured or generated token); optional only in explicit loopback development mode (MINARA_ALLOW_INSECURE_BIND=1, with GATEWAY_AUTH_TOKEN unset) |
| Category | sessions |
Request body
{ "origin": "web", "kind": "chat" }Response body
{ "id": "chat_abc", "origin": "web", "kind": "chat" }