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_overrideobjectOptional
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.
reindex_queuedboolean
Whether the effective configuration changed and background reindexing was queued.
chunking_overrideobjectOptional
The resulting chunking override. Null means the entity inherits from ancestors or the embedding model default.

Errors

422
Documents Update Chunking Override Request Unprocessable Entity Error