Mubashir
02/16/2026, 10:14 AMChiranjeet Mishra
02/16/2026, 12:41 PMMubashir
02/18/2026, 5:59 AMChiranjeet Mishra
02/18/2026, 5:16 PMcurl 'https://api.vapi.ai/analytics' \
-H 'authorization: Bearer {VAPI-PRIVATE-TOKEN}' \
-H 'content-type: application/json' \
--data-raw '{
"queries": [{
"name": "Number of Concurrent Calls",
"table": "subscription",
"timeRange": {
"start": "2025-10-16T18:30:00.000Z",
"end": "2025-11-17T05:31:10.184Z",
"step": "day"
},
"operations": [{
"operation": "max",
"column": "concurrency",
"alias": "concurrency"
}]
}]
}'
This will return the maximum concurrency reached per time interval (day in this example).
You can adjust the timeRange.step field to:
• "hour" → to analyze peak usage within a day
• "day" → to review daily peaks
• "week" → to evaluate broader trends
If you notice your peak concurrency getting close to your current limit (10), that’s a strong signal you may want to increase reserved concurrency before production rollout.
Typical best practice:
• Check hourly peaks during campaign launches or traffic spikes.
• Upgrade when you consistently hit ~70–80% of your limit to avoid call rejections.
Thanks