Docs
API ReferenceReferenceKnowledgebases

Get a source document

GET
/knowledgebases/{knowledgebaseId}/sources/{sourceId}

One source with its current ingestion status, checked against the indexing service while it is still processing. Poll it after an upload until status is ready (searchable) or failed (errorMessage says why). 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
sourceId*string
Formatuuid

Response Body

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/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "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"}