---
title: "Get cached chat history for a collection"
method: GET
path: "/v1/collections/chatHistory"
tags: ["agent", "collections"]
---

# Get cached chat history for a collection

`GET /v1/collections/chatHistory`

## Query parameters

- `collectionId` string, required

## Response `200`

Successful response

- object
  - `messages` unknown[], required
    - unknown
  - `suggestedQuestions` string[], required
  - `updatedAt` string, nullable, required

## Other responses

- `400` — Invalid input data
- `401` — Authorization not provided
- `403` — Insufficient access
- `404` — Not found
- `500` — Internal server error

---

[API](https://skmtc.net/bibigpt/apis/bibigpt-openapi.md) · [All operations](https://skmtc.net/bibigpt/apis/bibigpt-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bibigpt/bibigpt-openapi/revisions/6923ed89c442/schema)
