GET /external/v1/context-documentsList context documents in the current workspace. Raw storage keys are never returned.
Requirements
Request
Parameters
| Name | Type | Description |
|---|---|---|
| limit | number | Maximum number of documents to return. |
| offset | number | Number of documents to skip. |
Responses
Context documents were successfully retrieved.
Example Request
/external/v1/context-documentscurl -X GET 'https://zentrik.ai/api/external/v1/context-documents?limit=20' \
-H 'Authorization: Bearer YOUR_API_KEY'Example Response
[
{
"id": "context-document-uuid",
"fileName": "activation-research.md",
"mimeType": "text/markdown",
"size": 1834,
"description": "Research notes for activation planning.",
"productId": "product-uuid",
"workspaceId": "workspace-uuid",
"vectorFileId": "file-vector-id",
"indexingStatus": "indexed",
"createdAt": "2026-05-14T10:00:00Z",
"updatedAt": "2026-05-14T10:00:00Z"
}
]