Skip to main content
Compose uses Server-Sent Events for streaming. Native routes can include Compose events alongside OpenAI-shaped chunks. External routes remove Compose events so OpenAI-compatible clients only see the stream shape they expect.

Chat streaming

Chat streams use OpenAI chat completion chunks:
When usage is available, Compose sends a final usage chunk before [DONE].

Responses streaming

POST /v1/responses streams Responses-style events. Use it when you want response IDs, input item retrieval, or previous_response_id history.
The API stores response records for retrieval through:

Compose events on native routes

Native streams can include named events: External streams remove these events and keep the stream OpenAI-shaped.

Video status streaming

The endpoint polls the provider job and sends compose.video.status until the job is completed or failed. Optional query parameters: