---
title: "Save Transcript Item"
method: POST
path: "/math-tutor/transcript/{session_id}"
tags: ["math-tutor"]
---

# Save Transcript Item

`POST /math-tutor/transcript/{session_id}`

Save a transcript item to the database

## Path parameters

- `session_id` string, required

## Request body

- TranscriptItem — Individual transcript item in a math session
  - `item_id` string, required
  - `type` 'MESSAGE' | 'BREADCRUMB', required
  - `role` 'user' | 'assistant', nullable
  - `title` string, nullable
  - `data` object, nullable
  - `expanded` boolean
  - `timestamp` string, required
  - `created_at_ms` integer, required
  - `status` 'IN_PROGRESS' | 'DONE', required
  - `is_hidden` boolean

## Response `200`

Successful Response

- unknown

## 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-service-production.skmtc.workers.dev/v1/apis/excellence-ai/excellence-learning/revisions/c407f3b5a05b/schema)
