Create a durable AI chat session (bearer token)
chat
Create a durable AI chat session (bearer token)
The bearer twin of the browser session transport - the successor the deprecated POST /api/v1/chat/general points clients at. Token authentication replaces the session cookie and CSRF pair; authorisation is the browser lane’s.
POST
Create a durable AI chat session (bearer token)
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Response
The AISession document (an idempotency_key replay returns the existing session)