Create knowledge base document from file

Create a knowledge base document generated form the uploaded file.

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.
namestringOptionnel>=1 character

A custom, human-readable name for the document.

parent_folder_idstringOptionnel
If set, the created document or folder will be placed inside the given folder.

Réponse

Successful Response
idstring
namestring
folder_pathlist of objectsOptionnel
The folder path segments leading to this entity, from root to parent folder.

Erreurs

422
Documents Create from File Request Unprocessable Entity Error