Skip to main content
GET
/
v1
/
chat
/
{id}
/
transcript
Get chat transcript
curl --request GET \
  --url https://api.roark.ai/v1/chat/{id}/transcript \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "participants": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "type": "<string>",
        "agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
      }
    ],
    "entries": [
      {
        "participantId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "role": "AGENT",
        "text": "<string>",
        "startOffsetMs": 1,
        "endOffsetMs": 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

ID of the chat to fetch transcript for

Response

Transcript for the specified chat

data
object
required

Chat transcript response