v2

latestOpenAPI 3.1.02026-08-08556285514.3 KB
Knowledge Base

Index Document

Index a document's extracted data into the Knowledge Base.

This is typically called automatically after document processing, but can be called manually to re-index a document.

Args: request: Document data to index

Returns: Index result with count of indexed fields

post/api/kb/index

Request body

batch_idstring required
document_idstring required
document_namestring required
page_numberinteger required
structured_dataobject required

Response

Successful Response

{"stackTrail":"paths:/api/kb/index:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}