Knowledge base

Create folder

Create a folder, optionally inside another one.

POSThttps://app.elunos.ai/api/v1/knowledge/folders

Fields

namestringPflicht

Display name of the folder.

parent_iduuid

Parent folder. Without it the folder sits at the top level.

Example

curl -X POST https://app.elunos.ai/api/v1/knowledge/folders \\
  -H "Authorization: Bearer np_xxxxxxxx" \\
  -H "Content-Type: application/json" \\
  -d '{ "name": "Opening hours and directions" }'

The response carries the id you then pass as folder_id on a document.