Skip to main content
PATCH
Update chunking override

Headers

x-api-key
string | null

Your API key for programmatic access. Send it in the x-api-key header; you can create and manage keys from the Developers page.

Path Parameters

documentation_id
string
required

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

Example:

"21m00Tcm4TlvDq8ikWAM"

Body

application/json
chunking_override
ChunkingOverrideRequestModel · object | null
required

RAG chunking override for a document or folder. Null clears the override so ancestors and embedding model defaults apply.

Response

Successful Response

id
string
required

ID of the document or folder whose chunking override was updated.

chunking_override
ChunkingOverride · object | null
required

The resulting chunking override. Null means the entity inherits from ancestors or the embedding model default.

reindex_queued
boolean
required

Whether the effective configuration changed and background reindexing was queued.