how to get transcrition after the call is complete
# ask-ai
a
how to get transcrition after the call is complete
t
Thanks for reaching out, Aryan. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
You're asking how to get the transcription after a call ends — here are the options and a quick next step question: Options to retrieve a post-call transcription • Save the conversation history programmatically: after the session ends convert
session.history
to a dictionary and write it to a file (or external store). • Generate a session report (Python): call
ctx.make_session_report()
in your
on_session_end
callback, then save `report.to_dict()`; the report contains conversation history, events, and recording metadata. • Download from LiveKit Cloud (Agent insights): if Observability is enabled for your project, open the session in the Agent insights tab and click “Download data” to get a ZIP with audio, transcripts, traces, and logs. • Real-time capture during the call: subscribe to
user_input_transcribed
and
conversation_item_added
events and store transcripts as they arrive for post-call use. Quick question so I can give exact steps for your setup: • Do you want to retrieve transcripts programmatically (Python/Node), or download them from the Cloud dashboard? Also, is Observability enabled for your project? Sources: Observability data hooks | LiveKit docs | Agent insights in LiveKit Cloud | LiveKit docs | Events and error handling | LiveKit docs | Text and transcriptions | LiveKit docs
a
i have livekit hosted on my server. i am making a phone cal using plivo. i want the full transcription of user and agent.
t
Thanks — since you run LiveKit on your own server and are using Plivo for the phone call, here are the practical ways to get a full post-call transcription (user + agent) and what I need to give exact steps. Options you can use • Save conversation history after session end Use the AgentSession
session.history
and export it to a file/store when the call finishes. That history contains conversation items (user and agent speech) with timestamps and metadata. • Create a session report (recommended for structured output, Python) In your
on_session_end
callback call
ctx.make_session_report()
and save `report.to_dict()`; the report includes conversation history, recordings and metadata. • Capture real-time transcription during the call Subscribe to
user_input_transcribed
and
conversation_item_added
events and persist each transcription record as it arrives so you have a complete transcript when the call ends. • Use observability export (if enabled on your server) If your self-hosted observability is enabled, you can produce a downloadable ZIP per session containing audio, transcripts, traces, and logs. Questions to tailor exact instructions • Are you using LiveKit Agents/AgentSession on the server (Python or Node) or a custom integration? • Do you already have speech-to-text enabled (which engine) or are you relying on LiveKit’s transcription events? • Do you want code examples for Python or Node to save the session history/report or to capture the real-time events? Tell me which language and setup you’re using and I’ll give the exact code snippet and where to hook it in.