import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
});
const concurrency = await client.concurrency.retrieve();
console.log(concurrency.base_concurrency);
{
"current_concurrency": 10,
"concurrency_limit": 100,
"base_concurrency": 20,
"purchased_concurrency": 80,
"concurrency_purchase_limit": 100,
"remaining_purchase_limit": 20
}
Get the current concurrency and concurrency limit of the org
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
});
const concurrency = await client.concurrency.retrieve();
console.log(concurrency.base_concurrency);
{
"current_concurrency": 10,
"concurrency_limit": 100,
"base_concurrency": 20,
"purchased_concurrency": 80,
"concurrency_purchase_limit": 100,
"remaining_purchase_limit": 20
}
Authentication header containing API key (find it in dashboard). The format is "Bearer YOUR_API_KEY"
Successfully retrieved a voice.
The response is of type object
.
Was this page helpful?