AI Chat
Stream AI chat response (SSE)
Send a message and receive the AI response as a Server-Sent Events stream. Events: session_id (initial), text (content chunks), task_update (tool progress), error, done (terminal with status). Requires ai.chat:write OAuth scope or an API key.
POST
Stream AI chat response (SSE)
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Message to send
Resume an existing session
Bind session to an incident
Response
SSE event stream
Previous
List AI chat session messagesReturns the user and assistant message history for a session, paginated and chronologically ordered. Internal tool messages are filtered out. Requires `ai.chat:read` OAuth scope or an API key.
Next
Stream AI chat response (SSE)