Compute RAG index

In case the document is not RAG indexed, it triggers rag indexing task, otherwise it just returns the current status.

Path parameters

documentation_idstringRequired
The id of a document from the knowledge base. This is returned on document addition.

Headers

xi-api-keystringOptional

Request

This endpoint expects an object.
modelenumRequired
Allowed values:

Response

Successful Response
idstring
modelenum
Allowed values:
statusenum
progress_percentagedouble
document_model_index_usageobject

Errors