Docs
API ReferenceReferenceKnowledgebases

List source documents

GET
/knowledgebases/{knowledgebaseId}/sources

The ingested documents of one knowledgebase, paged: name, type, status, whether each is searchable. No file bodies; their content is reached through search. Requires the knowledge:read scope.

AuthorizationBearer <token>

An organization API key, created from a Portal's Webhooks page (Provisioning API card). The secret is shown once at creation and stored only as a hash. Keys are organization-wide and carry scopes (end_users:read, end_users:write). Rate limit: 120 requests per minute per key (sliding 60-second window).

In: header

Path Parameters

knowledgebaseId*string
Formatuuid

Query Parameters

limit?integer

Items per page (default 50, max 200).

Range1 <= value <= 200
cursor?string

The nextCursor from the previous page. Omit for the first page. A cursor names the last item handed out, so a walk is gapless; a stale one is refused with invalid_request.

fields?string

Comma-separated field names to keep on each item. Any of: id, name, type, status, searchable, disabled, url, updatedAt, createdAt, sizeBytes, errorMessage, createdVia. An unknown name is invalid_request naming the valid ones.

updatedSince?string

Only items changed at or after this time (inclusive).

Formatdate-time

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/knowledgebases/497f6eca-6276-4993-bfeb-53cbbbba6f08/sources"
{  "knowledgebaseId": "string",  "sources": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "name": "string",      "type": "string",      "status": "string",      "searchable": true,      "disabled": true,      "url": "string",      "updatedAt": "2019-08-24T14:15:22Z",      "createdAt": "2019-08-24T14:15:22Z",      "sizeBytes": 0,      "errorMessage": "string",      "createdVia": "string"    }  ],  "nextCursor": "string"}