curl --request GET \
--url https://zeus-api.agentspro.cn/api/knowledge-base/kb_abc123/documents/doc_xyz789/content \
--header 'Authorization: Bearer <token>'
{
"content": "# Product User Guide\n\n## 1. Installation\n\nDownload the installer package...",
"fileName": "product-guide.md",
"fileType": "text/markdown"
}
Document API
Get Document Content
Get the raw text content of a document (preview)
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": "# Product User Guide\n\n## 1. Installation\n\nDownload the installer package...",
"fileName": "product-guide.md",
"fileType": "text/markdown"
}
Returns the raw text content of a document for client-side preview.
curl --request GET \
--url https://zeus-api.agentspro.cn/api/knowledge-base/kb_abc123/documents/doc_xyz789/content \
--header 'Authorization: Bearer <token>'
{
"content": "# Product User Guide\n\n## 1. Installation\n\nDownload the installer package...",
"fileName": "product-guide.md",
"fileType": "text/markdown"
}