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-keystringRequired

Request

This endpoint expects an object.
modelenumRequired
Allowed values:

Response

Successful Response

statusenum
Allowed values:
progress_percentagedouble

Errors