Exchange Realtime WebRTC SDP
Exchanges a WebRTC SDP offer for an OpenAI Realtime SDP answer. Set the model in session.model of the multipart session field, or in the model query parameter.
ApiKeyAuthAuthorization<token>model?stringModel ID used when the multipart session field omits model.
multipart/form-data- body
sdp*stringWebRTC SDP offer.
session?stringJSON-encoded Realtime session object.
The SDP answer.
response?stringapplication/sdpcurl -X POST 'https://api.ohmygpt.com/v1/realtime/calls' \ -F 'sdp=string'"string"List models GET
Returns the models you can call, in an OpenAI-compatible format. A model no provider can currently serve is left out, since every request to it would fail; set `include_unavailable=true` to list it with `available: false`, or retrieve it by ID. Filters are limited to facts derivable from the catalog and enabled route pricing; category and arch are conservative derived mappings, so an unknown value is not treated as a match.
Create Realtime client secret POST
Creates an ephemeral client secret for an OpenAI Realtime session. Set the model in `session.model` or the top-level `model` field.