Concurrency limit but no calls
# support
f
I keep hitting a concurrency limit, but i have at most 1-2 concurrent calls. We just added 5 extra lines and still are hitting the limit. Org ID: 7e4f30a5-9dad-4520-ab4b-2fea9222ca27 Is there an API we can poll to check this? Is there an API we can use to view active calls? Is there an API to kill active calls?
v
To view your calls (including active ones), you can use the Vapi API's list calls endpoint. Here’s a Python example using the Vapi SDK:
Copy code
python
from vapi import Vapi

client = Vapi(token="YOUR_TOKEN_HERE")
calls = client.calls.list()
# Filter for active calls based on their status in the response
Replace
"YOUR_TOKEN_HERE"
with your actual API token. You'll need to filter the results for calls with an "active" status.
For more details, see the [Vapi API documentation](https://docs.vapi.ai/api-reference/calls/list). Source: - [List Calls](https://docs.vapi.ai/api-reference/calls/list)
c
Hi, If you're hitting concurrency limits despite having only 1–2 visible calls, you can use the following APIs to verify active sessions and manage them directly: 1. View Active Calls You can fetch calls using:
Copy code
GET /call
Then filter where:
Copy code
status != "ended"
---- 2. End (Kill) Active Calls There is no global “kill all” endpoint, but you can terminate individual calls. First, fetch the call:
Copy code
GET /call/{id}
From the response, locate:
Copy code
monitor.controlUrl
Then send:
Copy code
POST <controlUrl>
{
  "type": "end-call"
}
This will immediately terminate the live call. If you're still seeing unexpected concurrency usage after verifying active calls, please share a few recent call IDs and timestamps so we can investigate further from our side. Best regards, Oshi Raghav Customer Support Team | Vapi