Knowledge base

Create folder

Create a folder, optionally inside another one.

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

Creates a folder. The response contains the id you then pass as folder_id on a document.

Body

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": "Öffnungszeiten und Anfahrt"
  }'

Response

{
  "data": {
    "id": "019f94f8-0a1b-7c2d-8e3f-4a5b6c7d8e9f",
    "name": "Öffnungszeiten und Anfahrt",
    "parent_id": null,
    "documents_count": 0,
    "sync_status": "synced",
    "sync_error": null,
    "created_at": "2026-09-01T08:55:00+02:00",
    "updated_at": "2026-09-01T08:55:00+02:00"
  }
}