NAME
OpenAPI::Client::OpenAI::Path::realtime-transcription_sessions - Documentation for the /realtime/transcription_sessions path.
DESCRIPTION
This document describes the API endpoint at /realtime/transcription_sessions
.
See the examples/
directory in the distribution for examples of how to use this.
POST /realtime/transcription_sessions
Create an ephemeral API token for use in client-side applications with the Realtime API specifically for realtime transcriptions. Can be configured with the same session parameters as the `transcription_session.update` client event.
It responds with a session object, plus a `client_secret` key which contains a usable ephemeral API token that can be used to authenticate browser clients for the Realtime API.
Operation ID
create-realtime-transcription-session
$client->create-realtime-transcription-session( ... );
Request Body
Content Type: application/json
Example:
{
"include" : [
null
],
"input_audio_noise_reduction" : null,
"turn_detection" : null,
"input_audio_transcription" : null
}
Responses
Status Code: 200
Session created successfully.
Content Types:
application/json
Example:
{ "turn_detection" : null, "client_secret" : null, "input_audio_transcription" : null }
SEE ALSO
COPYRIGHT AND LICENSE
Copyright (C) 2023-2025 by Nelson Ferraz
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.0 or, at your option, any later version of Perl 5 you may have available.