GET /external/v1/context-unitsList context units in the current workspace. Responses include the full Markdown body.
Requirements
Request
Parameters
| Name | Type | Description |
|---|---|---|
| limit | number | Maximum number of context units to return. |
| offset | number | Number of context units to skip. |
Responses
Context units were successfully retrieved.
Example Request
/external/v1/context-unitscurl -X GET 'https://zentrik.ai/api/external/v1/context-units?limit=20' \
-H 'Authorization: Bearer YOUR_API_KEY'Example Response
[
{
"id": "context-unit-uuid",
"name": "Engineering principles",
"description": "Reusable engineering guidance for product delivery.",
"data": "## Principles\n\n- Prefer focused changes\n- Validate workspace relationships",
"productId": null,
"workspaceId": "workspace-uuid",
"vectorFileId": "file-vector-id",
"indexingStatus": "indexed",
"createdAt": "2026-05-14T10:00:00Z",
"updatedAt": "2026-05-14T10:00:00Z"
}
]