v40

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-01108178385.8 KB
realtime

Open a realtime session

Upgrades to a websocket and relays an OpenAI-compatible realtime (speech-to-speech) session to the provider that owns the model named in the ?model= query parameter. Provider credentials are injected by the gateway. Passing ?call_id= instead attaches to an existing WebRTC/SIP call as a sideband channel; calls created through this gateway instance are routed automatically, others need explicit model (and provider) parameters.

get/v1/realtime

Query parameters

modelstring

Model that owns the realtime session (required unless call_id names a call created through this gateway instance)

providerstring

Optional provider hint

call_idstring

Existing WebRTC/SIP call to attach to as a sideband channel