v40

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

Create a realtime WebRTC call

OpenAI-compatible WebRTC SDP exchange. Accepts a raw application/sdp offer with the model in the ?model= query parameter, or a multipart form with sdp and session (JSON) fields. The gateway routes by model, injects provider credentials, and relays the SDP answer; the Location header carries the created call id. Media flows directly between the client and the provider, so usage is recorded by a gateway-side sideband observer when usage tracking is enabled.

post/v1/realtime/calls

Query parameters

modelstring

Model that owns the call (required for application/sdp offers)

providerstring

Optional provider hint

Response

SDP answer

string required