Skip to main content
GET
/
api
/
v1
/
rag
/
document
/
{id}
/
download
Download document content
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://blackbox.dasha.ai/api/v1/rag/document/{id}/download', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
"<string>"

Path Parameters

id
string<uuid>
required

Document ID

Response

OK

The response is of type file.