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.

Paramètres de chemin

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

En-têtes

xi-api-keystringOptionnel

Requête

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

Réponse

Successful Response
urlobject
OR
fileobject
OR
textobject
OR
folderobject

Erreurs

422
Document Update File Request Unprocessable Entity Error