---
title: "Get Document Chat History"
method: GET
path: "/document/chat/{chat_id}"
tags: ["document"]
---

# Get Document Chat History

`GET /document/chat/{chat_id}`

Retrieve the message history for a document chat conversation.

Args:
    chat_id: Identifier of the document chat conversation.
    auth: Authentication context used to verify access to the conversation.
    redis: Redis connection where chat messages are stored.

Returns:
    A list of message dictionaries or an empty list if no history exists.

## Path parameters

- `chat_id` string, required

## Headers

- `authorization` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/morphik-org/apis/fastapi.md) · [All operations](https://skmtc.dev/morphik-org/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/morphik-org/fastapi/revisions/9ade02dd7b1d/schema)
