RealtimeSessionOut
objectObject
Constant value:
realtime_sessionDefault value:
realtime_sessionidIdrequired
Identifier of the voice session (GET /v1/sessions/{session_id}).
client_secret objectrequired
The short-lived secret that lets the client open the voice stream.
valueValuerequired
The secret: send it when opening websocket_url; it opens one connection.
expires_atExpires Atrequired
Unix seconds after which the secret is rejected.
websocket_urlWebsocket Urlrequired
Absolute wss:// URL the client opens, with the secret, to start the voice stream.
modelModelrequired
RealtimeSessionOut
{
"object": "realtime_session",
"id": "string",
"client_secret": {
"value": "string",
"expires_at": 0
},
"websocket_url": "string",
"model": "string"
}