Knowledge Bases

Inspect a document's extracted content

Returns the document, its source text (for pasted-text documents), and the first 200 indexed chunks, so you can verify what agents will retrieve. Requires the kb:manage scope.

get/v1/knowledgebases/{id}/documents/{docId}/content

Request

  • Base URL: https://api.pyai.com
  • URL: https://api.pyai.com/v1/knowledgebases/{id}/documents/{docId}/content
  • Auth: one of:
    • HTTP bearer
    • API key in header x-api-key

Path parameters

idstring required
docIdstring required

Response

Document content and indexed chunks

Changes

No recorded changes to this operation across all 1 revision of this API.