Try Bifrost Enterprise free for 14 days. Explore now
A valid request URL is required to generate request examplesUpgrades the connection to a WebSocket and runs the OpenAI Responses API
in WebSocket Mode. Clients send response.create events on the socket and
receive streamed events through the standard inference pipeline (PreLLMHook,
key selection, provider call, PostLLMHook).
Auth is identical to the HTTP POST variant — Bearer/Basic/Virtual Key/API Key
may be supplied as request headers on the upgrade request. The OpenAI SDK can
also pass an API key via the openai-insecure-api-key.<key> WebSocket
subprotocol.
This GET endpoint shares its path with the POST inference endpoint; route
selection is based on the Upgrade: websocket request header.
A valid request URL is required to generate request examplesDocumentation Index
Fetch the complete documentation index at: https://docs.getbifrost.ai/llms.txt
Use this file to discover all available pages before exploring further.
Bearer token authentication. Use your provider API key or Bifrost authentication token.
Virtual keys (prefixed with sk-bf-) can also be passed here.
Must be websocket
websocket Optional WebSocket subprotocol. Use openai-insecure-api-key.<key> to
authenticate when headers cannot be supplied by the client.
Switching Protocols — WebSocket upgrade succeeded
Was this page helpful?