Update document file

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.

Path parameters

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

Headers

xi-api-keystringOptional

Request

This endpoint expects a multipart form containing a file.
filefileRequired
Documentation that the agent will have access to in order to interact with users.

Response

Successful Response
urlobject
OR
fileobject
OR
textobject
OR
folderobject

Errors

422
Unprocessable Entity Error
๐Ÿ” Ferramentas de Espionagem
Servidor: srv1638767 ยท BR-SP