Skip to main content
GET
/
v1
/
sessions
/
{id}
/
transcript
get session transcript
curl --request GET \
  --url https://api.anam.ai/v1/sessions/{id}/transcript \
  --header 'Authorization: Bearer <token>'
{
  "sessionId": "00000000-0000-0000-0000-000000000000",
  "personaName": "Cara",
  "startTime": "2026-04-20T09:00:00.000Z",
  "endTime": "2026-04-20T09:12:34.000Z",
  "durationMs": 754000,
  "totalMessages": 6,
  "transcriptsEnabled": true,
  "messages": [
    {
      "role": "persona",
      "message": "Hi! How can I help?",
      "timestamp": "2026-04-20T09:00:01.000Z",
      "speakingDurationSeconds": 1.4,
      "wasInterrupted": false
    },
    {
      "role": "user",
      "message": "Can you tell me a joke?",
      "timestamp": "2026-04-20T09:00:05.000Z",
      "speakingDurationSeconds": 2.1
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Session ID

Response

Successfully retrieved transcript

sessionId
string

The session ID

personaName
string

Name of the persona in the session

startTime
string<date-time>

Session start time

endTime
string<date-time> | null

Session end time

durationMs
integer | null

Session duration in milliseconds

totalMessages
integer

Total number of messages in the transcript

transcriptsEnabled
boolean

Whether transcripts were enabled for this session

messages
object[]
Last modified on April 22, 2026