platform-guideline checked

OpenAI Streaming API responses guide

Documents streaming model output with server-sent events so clients can display the beginning of a response while generation continues.

Open source

Pattern Decisions This Source Supports

Pattern Supported decision Required contract Claim note
Agent progress trace Choose agent progress trace when an agent or automation run has started and users need live status across multiple steps or tools. The trace belongs to one run ID, reviewed plan version, objective, actor, start time, current state, and final state. Supports streaming server-sent updates while agent or model work continues.
Streaming response Choose streaming response when partial generated output is useful before the full answer is ready and the product can explain partial versus final state. The UI never presents an active stream as a complete answer until the terminal event or final validation state arrives. Supports rendering generated output while model generation continues.

Evidence Role

This source is treated as platform-guideline evidence. Use it to validate the decision rules above, not as a visual style reference.

Publisher: OpenAI. Last checked: .