feat(api): add WebSocket stream IDs - #3612
Merged
Merged
Conversation
Contributor
HAYDEN-OAI
approved these changes
Aug 13, 2026
HAYDEN-OAI
left a comment
Contributor
There was a problem hiding this comment.
Reviewed the complete generated SDK and OpenAPI diff, including stable and beta synchronous/asynchronous WebSocket request serialization, all server-event variants, discriminated parsing, beta injection events, existing error-dispatch compatibility, and the coordinated upstream schema change. The optional stream_id remains WebSocket-only, preserves existing SSE event inheritance and HTTP request contracts, and is consistently available for multiplexed event routing. No substantive correctness, security, backwards-compatibility, streaming, or reliability issues found.
Open
Merged
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds optional WebSocket-only stream_id routing metadata to Responses client events and all server response events. Events sharing a stream ID are processed FIFO and response events echo that identifier.
Source: https://github.com/openai/openai/pull/1282468
OpenAPI commit: 1e5b3b1f1d21b51c5a37d6122c2b3b2d70ef5a1a
Validation