Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
JavaScript
const options = {method: 'GET'}; fetch('https://blackbox.dasha.ai/api/v1/rag/kb', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "items": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "customerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "description": "<string>", "type": "Files", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "statistics": { "knowledgeBaseId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "storageByDocumentType": {}, "documentsByStatus": { "Uploaded": 123, "Queued": 123, "Processing": 123, "Indexed": 123, "Failed": 123, "Cancelled": 123, "PendingDelete": 123, "Deleting": 123 } }, "settings": {}, "embeddingsName": "<string>" } ], "totalItems": 123 }
Optional, skip N records. Default 0
0 <= x <= 2147483647
Optional, take M records. Default 20
1 <= x <= 1000
OK
Show child attributes
Was this page helpful?