Exchange an API key header for an HttpOnly browser session cookie
POST/api/auth/session
Exchange an API key header for an HttpOnly browser session cookie
Request
Responses
- 200
- 401
- 403
Browser session established
Invalid or missing API key header
The key is valid but refused here: its allowedIps exclude this client, or it is restricted to selected chats. Also returned when the API key's role, session or chat scope, or IP allow-list does not allow this operation.