ResoneraDocs
Knowledge base

List knowledge-base items

GET
/knowledge-base/items

Returns the files and folders directly inside a folder, folders first. Each file includes its indexing result in index_status.

Requires the agents:read scope.

Authorization

apiKey
headerX-API-Key<token>

Your API key, from Settings → API access in the dashboard.

Query Parameters

folder?string

Folder path such as docs/prices. Empty for the top level.

Default""
limit?integer
Range1 <= value <= 500
Default100
offset?integer

Rows to skip. Stop when offset + limit >= total.

Range0 <= value
Default0

Response Body

A page of items.

application/json
  1. response
items?array<>
total?integer
limit?integer
offset?integer
curl -X GET "https://example.com/knowledge-base/items"
{  "items": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "name": "string",      "type": "file",      "mime_type": "string",      "size_bytes": 0,      "path": "string",      "parent_path": "string",      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z",      "index_status": "queued",      "index_error": "string",      "index_chunks": 0,      "index_facts": 0,      "index_updated_at": "2019-08-24T14:15:22Z"    }  ],  "total": 0,  "limit": 0,  "offset": 0}