Set a per-agent maximum call duration
Set a per-agent maximum call duration
Voice agents now have a max_call_duration_seconds field: a hard cap on the wall-clock length of a single call on that agent. When a live call reaches the cap, the agent ends it automatically. Set it when you create or update an agent.
Leave it null (the default) and calls are bounded only by your plan’s call ceiling — which is also the hard upper bound for the field, so a value above it is rejected. Use it to cap cost and runaway calls per agent without leaning on the plan-wide ceiling.
See the Agents changelog for detail.