Realtime api - get conversation transcription from backend while using webrtc

Hi,

Thanks for the webrtc option! I’m trying to understand while using webrtc on the frontend and having the client connect to openai directly using ephemeral token, how can i somehow retrieve conversation events and transcription from my backend separately? The use case is, i want to send a conversation transcription and some summary through email after the conversation is completed.

It would be amazing if i could connect to an api and provide session id using my backend and then get the whole list of conversation events from there?

5 Likes

I’m working on a similar setup. My challenge is tracking the conversation from the server side, particularly monitoring token consumption, as my app uses a credit-based system. I need to ensure clients don’t exceed their credits and calculate usage costs after the session.

was anyone able to figure out a way to solve this?