跳转到主要内容
GET
/
api
/
knowledge-base
/
{id}
/
documents
/
{docId}
/
content
curl --request GET \
  --url https://zeus-api.agentspro.cn/api/knowledge-base/kb_abc123/documents/doc_xyz789/content \
  --header 'Authorization: Bearer <token>'
{
  "content": "# 产品使用指南\n\n## 1. 安装\n\n下载安装包...",
  "fileName": "product-guide.md",
  "fileType": "text/markdown"
}
返回文档的原始文本内容,用于客户端预览。
Authorization
string
必填
Bearer JWT Token
id
string
必填
知识库 ID
docId
string
必填
文档 ID
content
string
文档原始文本内容
fileName
string
文件名
fileType
string
文件 MIME 类型
curl --request GET \
  --url https://zeus-api.agentspro.cn/api/knowledge-base/kb_abc123/documents/doc_xyz789/content \
  --header 'Authorization: Bearer <token>'
{
  "content": "# 产品使用指南\n\n## 1. 安装\n\n下载安装包...",
  "fileName": "product-guide.md",
  "fileType": "text/markdown"
}