const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://blackbox.dasha.ai/api/v1/misc/concurrency', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"active": 123,
"concurrency": 123
}Retrieves the concurrent call limit for your organization and the current number of active calls. Use this endpoint to monitor capacity and check if new calls can be initiated.
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://blackbox.dasha.ai/api/v1/misc/concurrency', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"active": 123,
"concurrency": 123
}Was this page helpful?