---
title: "Get Chat Transcript"
method: GET
path: "/admin/chat-tool-calls/chats/{chat_id}"
tags: ["admin_chat_tool_calls"]
---

# Get Chat Transcript

`GET /admin/chat-tool-calls/chats/{chat_id}`

## Path parameters

- `chat_id` string, required

## Response `200`

Successful Response

- ChatTranscriptOut
  - `chat_id` string, required
  - `user_id` string, required
  - `user_email` string, nullable
  - `user_role` string, nullable
  - `origin` string, nullable
  - `created_at` string, date-time, nullable
  - `updated_at` string, date-time, nullable
  - `messages` ChatTranscriptMessage[], required
    - `id` string, nullable
    - `role` string, required
    - `content` string, required
    - `type` string, nullable
    - `timestamp` string, date-time, nullable
    - `tool_activity` object[], nullable
    - `context` object, nullable
  - `tool_events` ToolCallEventOut[], required
    - `id` string, required
    - `chat_id` string, required
    - `user_id` string, required
    - `user_email` string, required
    - `user_role` string, required
    - `surface` string, required
    - `origin` string, nullable
    - `prompt_id` string, required
    - `page_context` object
    - `tool` string, required
    - `label` string, required
    - `call_id` string, required
    - `round_index` integer, required
    - `arguments` object
    - `status` string, required
    - `error` string, nullable
    - `duration_ms` integer, required
    - `content_chars` integer, required
    - `result_summary` object
    - `result_content` object, nullable
    - `trigger_message` string, nullable
    - `created_at` string, date-time, required
  - `widget_events` WidgetEventOut[]
    - `id` string, required
    - `chat_id` string, required
    - `message_id` string, nullable
    - `ordinal` integer, required
    - `user_id` string, required
    - `user_email` string, required
    - `user_role` string, required
    - `surface` string, required
    - `origin` string, nullable
    - `widget` string, required
    - `payload_excerpt` string, nullable
    - `payload_chars` integer, required
    - `closed` boolean, required
    - `trigger_message` string, nullable
    - `tool_names` string[]
    - `applied` boolean, nullable
    - `created_at` string, date-time, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/excellence-ai/apis/excellence-learning.md) · [All operations](https://skmtc.dev/excellence-ai/apis/excellence-learning/llms.txt) · [OpenAPI document](https://skmtc.dev/excellence-ai/apis/excellence-learning/revisions/2a0c1636fd3b?raw)
