Agents Platform
Update Chunking Override
Changed onSet or clear the RAG chunking override for a document or folder.
patch/v1/convai/knowledge-base/{documentation_id}/chunking-override
Request
- Base URLhttps://api.elevenlabs.io (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
Example response
{
"chunking_override": {
"custom_separators": [
"\n## "
],
"max_chunk_size": 800,
"overlap_percentage": 10
},
"id": "21m00Tcm4TlvDq8ikWAM",
"reindex_queued": true
}Changes
- info
endpoint added
- info