knowledge-base

Get Document by ID

Get a single document by document_id

get/knowledge-base/document/{document_id}

Request

  • Base URL
    https://api.periskope.app/v1
  • URL
    https://api.periskope.app/v1/knowledge-base/document/{document_id}
  • Auth
    HTTP bearer

Path parameters

document_idstring required

The document ID to retrieve

Example:doc_xyz789

Response

200 OK

document_idstring

The unique identifier for this document

typestring

Type of entry (document)

questionstring

Question of the document

answerstring

Answer of the document

attachmentsstring[]

Attachments of the document

metadataobject

Metadata of the document

embeddingnumber[]

Embedding of the document

created_atstring

Creation timestamp

Changes

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