Skip to main content
The Responses API supports streaming to receive tokens as they’re generated instead of waiting for the complete response. Set stream: true in your request, then read the response body as a stream of server-sent events (SSE). Each event contains a response chunk that you can display incrementally.
The Responses API is best supported on the Enterprise plan. Use https://enterprise.blackbox.ai as the base URL for full model availability and production reliability. The API is also available on standard plans at https://api.blackbox.ai, where it is currently experimental.

Basic Streaming Request

Streaming Events

The stream emits server-sent events in the following sequence:
EventDescription
response.createdResponse initialized — signals the stream has started
response.output_text.deltaText chunk received — contains a delta field with the new text
response.output_text.doneText generation complete for the current output item
response.completedFull response complete, includes final usage statistics

Event Payloads

response.output_text.delta
response.completed

Request Parameters

stream
boolean
required
Set to true to enable streaming. The response will be a stream of server-sent events instead of a single JSON object.
model
string
required
The model identifier to use. Example: openai/gpt-5.3-codex
input
array
required
Array of input messages with type, role, and content fields.

Next Steps

Text Generation

Learn about basic non-streaming text generation

Tool Calling

Stream responses that include tool calls