OpenAIOpenAI API
POST/realtime/sessions
Manage create Realtime Session.
Contract-preserving POST Endpoint for create Realtime Session in the OpenAI API. Model and resource-specific values are supplied by the caller at runtime.
All 288 OpenAI Platform REST endpoints from a fixed MIT-licensed official revision, including typed SSE streaming and Realtime call management. Hub provides documentation and an independent SDK/CLI, but never proxies model, account, or usage data; callers connect directly with local API keys.
Request
- operationId
createRealtimeSession- Server
https://api.openai.com/v1- Authentication
- ApiKeyAuth, AdminApiKeyAuth
Request parameters
No URL, query, or header parameters.
Request body
RealtimeSessionCreateRequestrequired
Content-Type: application/json
Properties: client_secretinput_audio_formatinput_audio_transcriptioninstructionsmax_response_output_tokensmodalitiesoutput_audio_formatpromptspeedtemperaturetool_choicetoolstracingtruncationturn_detectionvoice
Responses
200
RealtimeSessionCreateResponseapplication/json
Successful supplier response.
Properties: audioexpires_atidincludeinstructionsmax_output_tokensmodelobjectoutput_modalitiestool_choicetoolstracingturn_detection
{
"audio": {
"input": {
"noise_reduction": {},
"transcription": {},
"turn_detection": {}
},
"output": {
"speed": 0,
"voice": "ash"
}
},
"expires_at": 0,
"include": [
"item.input_audio_transcription.logprobs"
]
}