v4
latestOpenAPI 3.1.02026-07-313621,3961.8 MBAgents Platform
Update File Document
Update the source file of a file document. The document name, content, and metadata are updated to reflect the new file. Any manual content edits will be overwritten.
patch/v1/convai/knowledge-base/{documentation_id}/update-file
Path parameters
documentation_idstring required
The id of a document from the knowledge base. This is returned on document addition.
Example:21m00Tcm4TlvDq8ikWAM
The id of a document from the knowledge base. This is returned on document addition.
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.
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.
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"
}
}