Stream Infinite Responses
Stream infinite context response in real-time using Server-Sent Events (SSE).
This endpoint streams the AI-generated response as it's being produced.
Args:
request_id: The unique identifier for the response request
Returns:
StreamingResponse with text/event-stream content
Events:
- data: Text chunks from the AI response
- complete: Final event with metadata when stream finishes
- error: Error event if streaming fails
Path parameters
request_id
Response
Successful Response