SpyBara
Go Premium

resources/beta/subresources/responses/methods/connect/index.md 2026-10-27 23:58 UTC to 2026-10-28 23:00 UTC

This page contains 19 additions and 0 deletions.

2026
Wed 28 23:00

For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.

Connect

Connect to a persistent Responses API WebSocket. Send response.create events to create responses and response.steer events to queue user input containing text, images, or files for a continuation. Receive response stream events and steering acceptance, pending, or failure events over the socket.

Open a WebSocket connection using the URL below. Supply path and query parameters and authentication during the opening handshake. Once connected, send client events and receive server events as JSON messages. Close the connection when finished.

WebSocket wss://api.openai.com/v1/responses

Authentication

Use Bearer Auth (header Authorization).

Events

Client events

Server events