Response
json
{
"client_secret": {
"expires_at": 0,
"value": "value"
},
"input_audio_format": "input_audio_format",
"input_audio_transcription": {
"language": "language",
"languages": [
"string"
],
"model": "whisper-1",
"prompt": "prompt"
},
"modalities": [
"text"
],
"turn_detection": {
"prefix_padding_ms": 0,
"silence_duration_ms": 0,
"threshold": 0,
"type": "type"
}
}Example
http
curl -X POST https://api.openai.com/v1/realtime/transcription_sessions \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'