v1

latestOpenAPI 3.0.32026-07-26870417.2 KB
knowledge-base

Get Document by ID

Get a single document by document_id

get/knowledge-base/document/{document_id}

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