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

Query parameters

force_reindexbooleanOptionalDefaults to false

In case the document is indexed and for some reason you want to reindex it, set this param as true.

Request

This endpoint expects an object.
modelenumRequired
Allowed values:

Response

Successful Response

statusenum
Allowed values:
progress_percentagedouble

Errors