Skip to main content

Get a document with full content

GET 

/v1/knowledge-bases/:kb_id/documents/:document_id

Fetch one document with its full extracted text, title and metadata.

Use it to verify what was actually indexed after an upload: for files this returns the text extracted from the original, not the binary you sent. Returns 404 when the document does not exist in the given knowledge base.

Requires the knowledge:read scope.

Request

Responses

Successful Response