Omar Andres Perez
03/28/2025, 12:21 AMVapi Support Bot
03/28/2025, 12:23 AMVapi Support Bot
03/28/2025, 12:23 AMmaxDurationSeconds
parameter. Here's how you can configure it:
1. **Via the Vapi Dashboard**:
- Log in to your Vapi dashboard
- Navigate to your call flows or scripts section
- Find the script/call flow you want to adjust
- Look for the parameters section
- Update the maxDurationSeconds
value (a starting point of 5-10 seconds is suggested)
- Save your changes
2. **Via API**:
curl -X PATCH 'https://api.vapi.ai/assistant/{ASSISTANT_ID}' \
-H 'Authorization: Bearer {YOUR_API_TOKEN}' \
-H 'Content-Type: application/json' \
-d '{
"maxDurationSeconds": 1800
}'
The valid range is 10 seconds to 12 hours according to [Vapi's API documentation](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1343732017426071653).
3. **Using Squad-Level Overrides**:
You can set duration limits at the squad level by adding "maxDurationSeconds": 240
to the membersOverrides
section, which will take priority over individual assistant settings.
Regarding organization-specific concurrency limits, there are indications that Vapi support can adjust or reset concurrency limits for specific organizations, but the exact configuration method isn't detailed in the documentation I have access to.
Is there anything else you'd like to know about configuring your Vapi agents?
Sources:
- [Discord Thread about maxDurationSeconds](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334027136305991750)
- [Discord Thread about API configuration](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1343732017426071653)Vapi Support Bot
03/28/2025, 12:27 AMKyle Brunker
03/30/2025, 7:25 AM