Skip to navigation

Update chunking override

Set or clear the RAG chunking override for a document or folder.

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.
chunking_overrideobject or nullRequired
RAG chunking override for a document or folder. Null clears the override so ancestors and embedding model defaults apply.

Response

Successful Response
idstring
ID of the document or folder whose chunking override was updated.
chunking_overrideobject or null
The resulting chunking override. Null means the entity inherits from ancestors or the embedding model default.
reindex_queuedboolean
Whether the effective configuration changed and background reindexing was queued.

Errors

422
Unprocessable Entity Error