Agents Platform
Update Document
Update the name and/or content of a document.
patch/v1/convai/knowledge-base/{documentation_id}
Request
- Base URLhttps://api.elevenlabs.io (the document declares no server; this is the origin it was published from)
- URLhttps://api.elevenlabs.io/v1/convai/knowledge-base/{documentation_id}
- Authnone declared
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
{
"access_info": {
"access_source": "creator",
"creator_email": "john.doe@example.com",
"creator_name": "John Doe",
"is_creator": true,
"role": "admin"
}
}