GET
https://app.evoriqa.com/api/v1/chatbots/{chatbotId}/sources/{sourceId}/chunksList a source's chunks
Returns the source's indexed chunks — what retrieval actually searches. Offset-paginated with `?skip`, not cursor-paginated like the list endpoints.
Requires scope knowledge:read
Warning:
Access is gated — enable it before your first call
The API is off by default. A request succeeds only when all three switches are on: the platform master switch (off by default), your organisation’s API toggle, and your plan or client entitlement. Any one off returns 403 API access is not enabled for this workspace.
Parameters
| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
| chatbotId | path | string uuid | Required | — | The chatbot the source belongs to. |
| sourceId | path | string uuid | Required | — | The knowledge source's id. |
| skip | query | integer ≥ 0 | Optional | 0 | Offset pagination: rows to skip. |
Request
curl
curl "https://app.evoriqa.com/api/v1/chatbots/{chatbotId}/sources/{sourceId}/chunks" \
-H "x-api-key: $EVORIQA_API_KEY"Node.js
const res = await fetch("https://app.evoriqa.com/api/v1/chatbots/{chatbotId}/sources/{sourceId}/chunks", {
headers: {
Authorization: `Bearer ${process.env.EVORIQA_API_KEY}`,
},
});
const responseBody = await res.json();Python
import os
import requests
res = requests.get(
"https://app.evoriqa.com/api/v1/chatbots/{chatbotId}/sources/{sourceId}/chunks",
headers={"Authorization": f"Bearer {os.environ['EVORIQA_API_KEY']}"},
)
body = res.json()Response
200 OK
{
"success": true,
"data": {
"chunks": [
{
"id": "5a1b2c3d-4e5f-4a6b-8c9d-0e1f2a3b4c5d",
"content": "Our starter plan includes…",
"index": 0
}
],
"total": 42
}
}