Return documents under a workspace, optionally scoped to a single KB via the kb_id query parameter.
Endpoint
Authentication
Authorization: Bearer <jwt> or X-API-Key <sk_...>. Minimum role: viewer.
Path parameters
Query parameters
Only return documents in this KB.
Response
The response is an array; each element is a document:
Parse status (parsing / parsed / failed).
Example