The SDK exposes utilities and types for parsing SSE output fromDocumentation Index
Fetch the complete documentation index at: https://docs.illa.io/llms.txt
Use this file to discover all available pages before exploring further.
/api/v1/chat
when Accept: text/event-stream is set.
Parser
parseSSEStream yields typed events as they arrive.
Event union
SSEStreamEvent includes:
telemetryresulterrorstream_end
TelemetryStreamEventResultStreamEventErrorStreamEventSSEStreamEndEvent
Example
Streaming errors
SSEParseStreamingHttpErrorStreamingResponseBodyNullStreamingServerError
Typical lifecycle
telemetryevents (includingconnectedand optionaltext_delta)resultstream_enderrorappears when the stream fails
/api/v1/chat/stream may still be available in compatibility deployments, but /api/v1/chat is the canonical SDK target.