Skip to main content
GET
Error

Authorizations

Authorization
string
header
required

Bearer token authentication. Use your provider API key or Bifrost authentication token. Virtual keys (prefixed with sk-bf-) can also be passed here.

Headers

Upgrade
enum<string>
required

Must be websocket

Available options:
websocket
Sec-WebSocket-Protocol
string

Optional WebSocket subprotocol. Use openai-insecure-api-key.<key> to authenticate when headers cannot be supplied by the client.

Query Parameters

model
string

Provider model identifier in provider/model form (e.g. openai/gpt-4o-realtime-preview). Either model or deployment must be supplied; requests with neither (or both) are rejected with HTTP 400 before the WebSocket upgrade completes.

deployment
string

Azure deployment name (for Azure-style routes).

Response

Switching Protocols — WebSocket upgrade succeeded