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

# Get Chat History

`GET /chat/{chat_id}`

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

---

[API](https://skmtc.net/morphik-org/apis/fastapi.md) · [All operations](https://skmtc.net/morphik-org/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/morphik-org/fastapi/versions/2d9291c3821d/schema)
