const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://blackbox.dasha.ai/api/v1/agents/knowledge-base/list', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"agentIds": [
"<string>"
],
"knowledgeBaseId": "<string>"
}
]const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://blackbox.dasha.ai/api/v1/agents/knowledge-base/list', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"agentIds": [
"<string>"
],
"knowledgeBaseId": "<string>"
}
]Was this page helpful?