Chat

Send Message Stream

Send a message and stream the AI response as Server-Sent Events.

SSE event format: data: {"type": "text", "content": "chunk"} data: {"type": "tool", "tool": "tool_name"} data: {"type": "done", "message_id": "uuid"} data: {"type": "error", "message": "error text"}

post/api/chat/sessions/{session_id}/messages/stream

Request

  • Base URL: https://api.earmarkiq.app (the document declares no server; this is the origin it was published from)
  • URL: https://api.earmarkiq.app/api/chat/sessions/{session_id}/messages/stream
  • Auth: HTTP bearer

Path parameters

session_idstring required

Request body

contentstring required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.