Agents Platform

Update Chunking Override

Changed on

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

patch/v1/convai/knowledge-base/{documentation_id}/chunking-override

Request

Path parameters

documentation_idstring required

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

Example:21m00Tcm4TlvDq8ikWAM

Headers

xi-api-keystring nullable

Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Request body

Response

Successful Response

idstring required

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

reindex_queuedboolean required

Whether the effective configuration changed and background reindexing was queued.

Example response

{
  "chunking_override": {
    "custom_separators": [
      "\n## "
    ],
    "max_chunk_size": 800,
    "overlap_percentage": 10
  },
  "id": "21m00Tcm4TlvDq8ikWAM",
  "reindex_queued": true
}

Changes