nicolas_46952
08/25/2025, 6:23 PMAI Evy
08/25/2025, 6:23 PMAI Evy
08/25/2025, 6:23 PMjavascript
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) ;
[(1) ]()
This will show you the current_concurrency (number of ongoing calls) and your concurrency_limit .
To identify which specific calls are active, use the List Calls API with a filter for ongoing calls:
javascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const callResponses = await client.call.list() ;
console.log(callResponses) ;
[(2) ]()
You can filter the results to show only calls with call_status of "ongoing" to see which calls are currently active and consuming your concurrency . The call status options include registered, ongoing, ended, and error .
You can also check your current number of concurrent calls in the dashboard [(3) ]() .AI Evy
08/25/2025, 6:23 PMAI Evy
08/25/2025, 6:23 PMnicolas_46952
08/25/2025, 6:25 PMAI Evy
08/25/2025, 6:25 PMAI Evy
08/25/2025, 6:25 PMpython
from retell import Retell
client = Retell(
api_key="YOUR_RETELL_API_KEY",
)
agent_response = client.agent.create(
response_engine={
"llm_id": "llm_234sdertfsdsfsdf",
"type": "retell-llm",
},
voice_id="11labs-Adrian",
)
print(agent_response.agent_id)
[(1) ]()
For concurrency checking specifically, you would use the concurrency endpoint [(2) ]() , though the exact Python method isn't shown in the available sources. The JavaScript version shows client.concurrency.retrieve() which returns data including current_concurrency and concurrency_limit .
For listing calls, you would use:
Based on the API structure shown in the Python SDK documentation [(3) ]() , the pattern would be similar to other resources like client.agent.list() for agents .
The response will show you the current_concurrency (number of ongoing calls) and your concurrency_limit [(2) ]() . You can then filter results to show only calls with active status to identify which specific calls are consuming your concurrency.AI Evy
08/25/2025, 6:25 PMAI Evy
08/25/2025, 6:25 PMnicolas_46952
08/25/2025, 6:34 PMAI Evy
08/25/2025, 6:34 PMAI Evy
08/25/2025, 6:34 PMjavascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const callResponse = await client.call.retrieve('119c3f8e47135a29e65947eeb34cf12d') ;
console.log(callResponse) ;
[(2) ]()
The API response will show the call_status which should be "registered", "ongoing", "ended", or "error" . Look for any calls that are still showing "ongoing" status when they should have ended [(1) ]() .
If you continue experiencing this issue where your concurrency limit is reached despite having no active calls, you may need to contact Retell AI support directly, as they have been able to help users adjust their concurrency limits to prevent this specific issue .
You can check your current concurrent calls in the dashboard as well [(3) ]() .AI Evy
08/25/2025, 6:34 PMAI Evy
08/25/2025, 6:34 PM