---
title: "Get Chat History"
method: GET
path: "/chat/{chat_id}"
---

# Get Chat History

`GET /chat/{chat_id}`

## Request

- Base URL: `https://api.morphik.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.morphik.ai/chat/{chat_id}`
- Auth: none declared

Retrieve the message history for a chat conversation.

## Path parameters

- `chat_id` string, required

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- ChatMessage[]
  - `role` 'user' | 'assistant', required
  - `content` string, required
  - `timestamp` string

## Other responses

- `422`: Validation Error

## Changes

- **2026-01-22** `2d9291c3821d`: 2 info
  - `header` request parameter `authorization` list-of-types was widened by adding types `null`
  - for the `header` request parameter `authorization`, the type was generalized from `string` to no type
- **2025-11-27** `4ce03d9b0f27`: 1 warning
  - removed the optional property `items/agent_data` from the response with the `200` status

[Operation history](https://skmtc.dev/morphik-org/apis/morphik-api/changes/chat/:chat_id/get.md)

---

[API](https://skmtc.dev/morphik-org/apis/morphik-api.md) - [All operations](https://skmtc.dev/morphik-org/apis/morphik-api/llms.txt) - [OpenAPI document](https://skmtc.dev/morphik-org/apis/morphik-api/revisions/45d77e08d406?raw)
