Skip to main content
The route always returns Responses-shaped output and errors.

Request

Supported fields

Unknown top-level fields are rejected with unsupported_feature on this surface.

Response

The buffered response contains output items for assistant messages, reasoning, and function calls. It also includes usage plus an additive gateway object.

Streaming

The stream emits named SSE events such as response.created, response.output_item.added, text or function-argument deltas, response.output_item.done, and response.completed. A failure after streaming begins is emitted as an error event.