mirror of
https://github.com/mintlify/docs.git
synced 2026-09-14 13:35:46 +08:00
05185f6af9
Co-authored-by: locadex-agent[bot] <217277504+locadex-agent[bot]@users.noreply.github.com>
29 lines
852 B
Plaintext
29 lines
852 B
Plaintext
---
|
|
openapi: /zh/analytics.openapi.json GET /api/external/v1/analytics/{projectId}/assistant
|
|
keywords: [ "analytics", "assistant", "conversations", "export", "AI" ]
|
|
---
|
|
|
|
<div id="usage">
|
|
## 使用方法
|
|
</div>
|
|
|
|
使用此端点从你的文档中导出 AI 助手的会话历史。每个会话都包括用户查询、助手回复、引用的来源以及查询类别。
|
|
|
|
使用响应中返回的 `cursor` 参数对结果进行分页。当 `hasMore` 为 `true` 时继续获取。
|
|
|
|
<div id="filtering">
|
|
## 筛选
|
|
</div>
|
|
|
|
使用 `dateFrom` 和 `dateTo` 参数按日期范围过滤会话。
|
|
|
|
<div id="conversation-data">
|
|
## 会话数据
|
|
</div>
|
|
|
|
每个会话包含:
|
|
|
|
- **query**: 用户的问题
|
|
- **response**: AI 助手的回答
|
|
- **sources**: 回答中引用的页面,包括标题和 URL
|
|
- **queryCategory**: query 的类型分类(如果可用) |