Knowledge Base

Get Knowledge Base Document Text

Get Document Text

Fetches the extracted text of one document, company-scoped. A document that has not finished parsing yet is not an error: available is false, text is an empty string, and status shows the document's current state.

get/knowledge-bases/{kbId}/documents/{docId}/text

Request

  • Base URL: https://api.speakai.co/v1
  • URL: https://api.speakai.co/v1/knowledge-bases/{kbId}/documents/{docId}/text
  • Auth: API key in header x-speakai-key and API key in header x-access-token

Path parameters

kbIdstring required

The collection's knowledgeBaseId.

docIdstring required

The document's documentId.

Response

OK

status'success'

Changes

No recorded changes to this operation across all 2 revisions of this API.