Update File Document
Changed onUpdate 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.
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}/update-file
- Authnone declared
Path parameters
The id of a document from the knowledge base. This is returned on document addition.
Headers
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 multipart/form-data
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"
}
}Changes
- warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status
- warning
- info
response property
oneOf[subschema #1: GetKnowledgeBaseURLResponseModel]/auto_sync_info/anyOf[subschema #1: AutoSyncInfo]/auto_discoverdeprecated - info
response property
oneOf[subschema #2: GetKnowledgeBaseFileResponseModel]/auto_sync_info/anyOf[subschema #1: AutoSyncInfo]/auto_discoverdeprecated - info
response property
oneOf[subschema #4: GetKnowledgeBaseFolderResponseModel]/auto_sync_info/anyOf[subschema #1: AutoSyncInfo]/auto_discoverdeprecated
- info