latestOpenAPI 3.1.02026-08-206635377.2 KB

dae97e8eb063

Sessions

get session transcript

Returns the conversation transcript for a session. Transcripts are never returned for zero-data-retention sessions, including to Anam-internal admin API keys. Admin keys may fetch transcripts for non-ZDR sessions of any organization.

get/v1/sessions/{id}/transcript

Path parameters

idstring uuid required

Session ID

Response

Successfully retrieved transcript

sessionIdstring

The session ID

personaNamestring

Name of the persona in the session

startTimestring date-time

Session start time

endTimestring date-time nullable

Session end time

durationMsinteger nullable

Session duration in milliseconds

totalMessagesinteger

Total number of messages in the transcript

transcriptsEnabledboolean

Whether transcripts were enabled for this session