Create a new chat session with server-managed conversation history
Bearer token authentication. Supports two token types:
POST /v1/auth/loginPOST /v1/api-tokens, format: cmnd_<tokenId>.<secret>Model ID to use for this session
"gpt-4o-mini"
Optional name for the session
"Q&A about Product Docs"
Optional knowledge base IDs to attach to the session
["kb_abc123", "kb_def456"]Sampling temperature
0 <= x <= 2Optional system message for the session
"You are a helpful assistant."
Session created successfully
"session_xyz789"
"chat.session"
"Q&A about Product Docs"
"gpt-4o-mini"
Unix timestamp
1699564800
Unix timestamp
1699564900
10