const options = {method: 'GET'};
fetch('https://blackbox.dasha.ai/api/v1/rag/document/{id}/chunks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"items": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"documentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"contentPreview": "<string>",
"contentLength": 123,
"startLine": 123,
"endLine": 123,
"createdAt": "2023-11-07T05:31:56Z"
}
],
"totalItems": 123
}const options = {method: 'GET'};
fetch('https://blackbox.dasha.ai/api/v1/rag/document/{id}/chunks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"items": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"documentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"contentPreview": "<string>",
"contentLength": 123,
"startLine": 123,
"endLine": 123,
"createdAt": "2023-11-07T05:31:56Z"
}
],
"totalItems": 123
}Documentation Index
Fetch the complete documentation index at: https://docs.blackbox.dasha.ai/llms.txt
Use this file to discover all available pages before exploring further.
Document ID
Optional, skip N records. Default 0
0 <= x <= 2147483647Optional, take M records. Default 20
1 <= x <= 1000Was this page helpful?