Is it possible to exponse call recordings and tran...
# ask-ai
b
Is it possible to exponse call recordings and transcripts using LiveKit's APIs?
t
Thanks for reaching out, Jose. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
You can — LiveKit provides multiple ways to expose call recordings and transcripts depending on your use case. • Agent sessions (Agent Observability) ◦ Agent Observability captures audio recordings, turn-by-turn transcripts, traces, and logs in the LiveKit Cloud dashboard. Recordings and transcripts can be played in-browser and downloaded as a ZIP containing audio + transcripts + logs. Data is retained for 30 days by default. You can disable recording per session by passing
record=False
to
session.start()
.Agent insights <cite sourceid="95edf8d2-c915-4a5f-be7c-e9dc999e553c"/> • General rooms (Egress) ◦ Use Egress to record entire rooms or individual participant tracks. Outputs can be MP4, HLS, or streamed via RTMP and can be written to S3/GCP/Azure. Auto Egress can start recording when a room is created.Egress overview <cite sourceid="8027bde6-e72a-4a1b-9bde-a2eb368ac147"/> • Real-time transcripts (Text streams) ◦ Live transcription is published via text streams (
lk.transcription
). Frontend clients can receive transcripts with
registerTextStreamHandler("lk.transcription")
. Transcription output can be disabled via
transcription_enabled=False
in
RoomOutputOptions
.Text and transcriptions <cite sourceid="a0157d27-0562-41e1-807a-2701345437ab"/> If you tell me which scenario matches yours (Agent Observability vs. room Egress vs. live text streams) and where you want to store or access the files (dashboard download, S3, client SDK), I’ll give step-by-step API/SDK guidance for that flow. Sources: Agent insights in LiveKit Cloud | LiveKit docs | Observability data hooks | LiveKit docs | Recording and export | LiveKit docs | RoomComposite Egress | LiveKit Docs | Recording participants | LiveKit docs
b
No, I need to exponse the Session recording that is already exposed on LiveKit's dashboard, specifically under Agent insights on the Sessions section. Is there an API to expose that information?
t
You're asking whether the Session recordings shown under Agent insights > Sessions in the LiveKit dashboard can be exposed via an API. Short answer: You can access session metadata via the Analytics API (Scale plan or higher), but there is no documented public API to directly download the dashboard's session recording file (audio zip) today. Details and options: • Analytics API: Returns session metadata (sessionId, roomName, timestamps, participant data, bandwidth, connectionMinutes, etc.) and can list sessions and session details. This is available for LiveKit Cloud customers on the Scale plan or higher. Analytics API <cite sourceid="1c2ad818-e9ed-45d7-b709-bafdf94f2000"/> • Dashboard data download: The Agent Insights UI lets you play and download a ZIP containing audio, transcripts, logs, and traces for a session. • No documented download endpoint: There is currently no documented API that directly returns the raw session recording ZIP/audio file that you download from the dashboard. Programmatic bulk export of dashboard session recordings is a planned capability. • Workaround / recommended approach: ◦ If you need programmatic access to recordings immediately, use Egress to record sessions to your own storage (S3/GCP/Azure) when the session starts. Egress gives you API control over recording start/stop and storage so you can retrieve files programmatically. Egress API <cite sourceid="08b2849a-f3e0-4415-b3ff-1158b1add5cd"/> ◦ For agent observability data you can also export structured session data from the Agents SDK (events like
conversation_item_added
,
user_input_transcribed
, and
ctx.make_session_report()
), which helps build custom exports or archives. Observability data hooks <cite sourceid="21922eae-8eea-422e-9c4b-792479772041"/> If you want, tell me: • Whether you have Scale-plan Analytics API access, and • Whether you need the raw audio ZIP programmatically now or can switch to Egress for future sessions — and I’ll give the exact endpoints/requests or a step-by-step Egress setup to capture recordings to your bucket. Sources: Analytics API | LiveKit docs | https://blog.livekit.io/streamline-troubleshooting-with-agent-observability/#/portal/signup| | Egress API | LiveKit docs | Observability data hooks | LiveKit docs