---
title: "Get chat transcript"
method: GET
path: "/v1/chat/{id}/transcript"
tags: ["Chat"]
---

# Get chat transcript

`GET /v1/chat/{id}/transcript`

Fetch the full transcript (messages) for a specific chat.

## Path parameters

- `id` string, uuid, required — ID of the chat to fetch transcript for

## Response `200`

Transcript for the specified chat

- object
  - `data` object, required — Chat transcript response
    - `participants` union[], required — All participants in this transcript, referenced by participantId on each entry
      - union — A participant in the conversation
        - object — An agent participant
          - `id` string, uuid, required — Conversation participant ID
          - `type` 'AGENT', required
          - `agentId` string, uuid, nullable, required — ID of the agent entity
        - object — A customer participant
          - `id` string, uuid, required — Conversation participant ID
          - `type` 'CUSTOMER', required
          - `customerId` string, uuid, nullable, required — ID of the conversation customer record
        - object — A simulated customer participant
          - `id` string, uuid, required — Conversation participant ID
          - `type` 'SIMULATED_CUSTOMER', required
          - `customerId` string, uuid, nullable, required — ID of the conversation customer record
        - object — A background speaker participant
          - `id` string, uuid, required — Conversation participant ID
          - `type` 'BACKGROUND_SPEAKER', required
    - `entries` object[], required — Ordered list of transcript entries from the chat
      - `participantId` string, uuid, nullable, required — ID of the conversation participant who produced this entry. References participants[].id.
      - `role` 'AGENT' | 'CUSTOMER', nullable, required — Convenience role derived from participant type
      - `text` string, required — Transcript text for this entry
      - `startOffsetMs` integer, required — Start time offset in milliseconds from the start of the conversation
      - `endOffsetMs` integer, required — End time offset in milliseconds from the start of the conversation

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `429` — Too Many Requests
- `500` — Internal Server Error

---

[API](https://skmtc.dev/roarkhq/apis/roark-analytics-api.md) · [All operations](https://skmtc.dev/roarkhq/apis/roark-analytics-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/roarkhq/roark-analytics-api/revisions/1d61b68e9429/schema)
