> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zeus.agentspro.cn/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Document Content

> Get the raw text content of a document (preview)

Returns the raw text content of a document for client-side preview.

<ParamField header="Authorization" type="string" required>
  Bearer JWT Token
</ParamField>

<ParamField path="id" type="string" required>
  Knowledge base ID
</ParamField>

<ParamField path="docId" type="string" required>
  Document ID
</ParamField>

<ResponseField name="content" type="string">
  Raw text content of the document
</ResponseField>

<ResponseField name="fileName" type="string">
  File name
</ResponseField>

<ResponseField name="fileType" type="string">
  File MIME type
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url https://zeus-api.agentspro.cn/api/knowledge-base/kb_abc123/documents/doc_xyz789/content \
    --header 'Authorization: Bearer <token>'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "content": "# Product User Guide\n\n## 1. Installation\n\nDownload the installer package...",
    "fileName": "product-guide.md",
    "fileType": "text/markdown"
  }
  ```
</ResponseExample>
