?
voice.getSession
Fetches one past voice session with its full transcript.
voice.getSession(sessionId) → Promise<VoiceSessionDetail>
Fetches one past session by id, transcript included, as a VoiceSessionDetail. Use it to render a full call record behind a row from listSessions.
Parameters
sessionId
string
RequiredThe id from a listSessions summary.
Render a call record
const detail = await voice.getSession(sessionId); detail.transcript.forEach(({ role, text }) => renderLine(role, text));