---
title: "获取聊天历史知识库统计"
method: GET
path: "/messages/chat-history-stats"
tags: ["消息"]
---

# 获取聊天历史知识库统计

`GET /messages/chat-history-stats`

获取聊天历史知识库的统计信息（已索引消息数、知识库大小等）

## Response `200`

统计信息

- object

## Changes

- **2026-03-30** `08f8a25fbf1d` — 1 info
  - endpoint added
- **2025-12-16** `edf61e68559d` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/tencentblueking/apis/weknora-api/changes/messages/chat-history-stats/get.md)

---

[API](https://skmtc.dev/tencentblueking/apis/weknora-api.md) · [All operations](https://skmtc.dev/tencentblueking/apis/weknora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tencentblueking/apis/weknora-api/revisions/c6545df0245a?raw)
