JSON body with messages, a non-empty chat-style array, and optional model. The server builds the Responses input from stored history plus the last user turn, sets stream: true, and streams a compatible Responses request. Response is JSON or text/event-stream.
If the last user text is /new, same as completions: new session and minimal SSE without calling inference.
CORS: OPTIONS returns 204 with no body.
Session JWT from Ageneral sign-in. Send as Authorization: Bearer <token>.
Project id. You must be a member with access.
Existing platform chat session to continue. Omit to create a new session on first non-/new turn.
Success. JSON or SSE stream.
OpenAI-compatible Responses output when not streaming.