Streaming Responses
The server streams Server-Sent Events (SSE). Each event is a JSON object containing agent output, logs, and other events.Response Format
Event Types
Message Events
Agent responses are sent as message events:Log Events
Diagnostic information and logs:Each line starts with
data: followed by a type-discriminated JSON envelope.Consuming the Stream
With curl
-N flag is essential for real-time streaming.
With JavaScript
With Python
Next Steps
- Learn about request format
- See file upload examples