=encoding utf8

=head1 NAME

OpenAPI::Client::OpenAI::Path::realtime-calls - Documentation for the /realtime/calls path.

=head1 OPERATIONS

=head2 POST /realtime/calls

=head3 create-realtime-call

  $client->create_realtime_call({
      body => { ... },
  });

Create a new Realtime API call over WebRTC and receive the SDP answer needed
to complete the peer connection.

=head4 Responses

B<201 - Realtime call created successfully.>

Content-Type: application/sdp

Example:

    "string"

=head1 SCHEMAS

=head2 RealtimeCallCreateRequest

Properties:

=over

=item * C<sdp> (string, required) - WebRTC Session Description Protocol (SDP) offer generated by the caller.

=item * C<session> (allOf) - Optional session configuration to apply before the realtime session is
created. Use the same parameters you would send in a L<C<create client
secret>|https://platform.openai.com/docs/api-reference/realtime-sessions/create-realtime-client-secret>
request.

=back

=head1 SEE ALSO

L<OpenAPI::Client::OpenAI::Path>

=head1 COPYRIGHT AND LICENSE

Copyright (C) 2023-2026 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.

=cut
