Skip to main content
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.
Authorization
string
required
Bearer JWT Token
id
string
required
Knowledge base ID
docId
string
required
Document ID
content
string
Raw text content of the document
fileName
string
File name
fileType
string
File MIME type
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"
}