Create knowledge base document from text

Create a knowledge base document containing the provided text.

En-têtes

xi-api-keystringOptionnel

Requête

This endpoint expects an object.
textstringRequis
Text content to be added to the knowledge base.
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 Text Request Unprocessable Entity Error