Skip to main content

Documentation Index

Fetch the complete documentation index at: https://private-04b27de1.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

parse_oai_message

parse_oai_message(message: dict[str, Any]) -> RealtimeEvent
Parse a message from the OpenAI Realtime API.
Parameters:
NameDescription
messageThe message to parse.

Type: dict[str, typing.Any]
Returns:
TypeDescription
RealtimeEventRealtimeEvent: The parsed event.