Class BetaResponsesClientEvent.ResponseCreate

  • All Implemented Interfaces:

    
    public final class BetaResponsesClientEvent.ResponseCreate
    
                        

    Client event for creating a response over a persistent WebSocket connection. This payload uses the same top-level fields as POST /v1/responses.

    Notes:

    • stream is implicit over WebSocket and should not be sent.

    • background is not supported over WebSocket.