Knowledge base

List documents

All documents in the knowledge base, paginated.

GEThttps://app.elunos.ai/api/v1/knowledge/documents

Returns all documents in the knowledge base. The response is paginated and carries links and meta next to data.

Query parameters

pageinteger

Page, starting at 1. Default 1.

per_pageinteger

Entries per page, maximum 100.

Example

curl https://app.elunos.ai/api/v1/knowledge/documents \
  -H "Authorization: Bearer np_xxxxxxxx"

Response

{
  "data": [
    {
      "id": "019f94f9-f54b-7303-a1b6-672be034af82",
      "name": "Öffnungszeiten",
      "source_type": "text",
      "folder_id": "019f94f8-0a1b-7c2d-8e3f-4a5b6c7d8e9f",
      "sync_status": "synced",
      "sync_error": null,
      "created_at": "2026-09-01T09:00:00+02:00",
      "updated_at": "2026-09-01T09:00:00+02:00"
    }
  ],
  "links": {
    "first": "https://app.elunos.ai/api/v1/knowledge/documents?page=1",
    "last": "https://app.elunos.ai/api/v1/knowledge/documents?page=1",
    "prev": null,
    "next": null
  },
  "meta": {
    "current_page": 1,
    "last_page": 1,
    "per_page": 50,
    "total": 1
  }
}

sync_status says whether the handover to the agents worked. On error the reason is in sync_error.

The knowledge base still lives directly under /knowledge, not under /spaces/{space}. The key determines the space.