VoiceAgentCollectDtmfStartArguments interface
Arguments for starting DTMF collection on a model call.
Properties
| completion_mode | Required typed object selecting one completion policy and its parameters, not an array of simultaneous rules. |
| first_digit_timeout_seconds | The maximum wait for the first digit in integer seconds, starting at receiver readiness and bounded by the remaining total deadline. Omit for fifteen seconds. |
| output_variable_name | Preferred bare name for the output variable, required for |
| secret | Required; no default. True returns a private reference, false returns the value. Privacy cannot be downgraded after collection starts. |
| timeout_seconds | Total deadline in seconds (1-300), including receiver setup. Overrides the Agent timeout; if both are omitted, defaults to 60. Duplicate calls do not reset it. |
Property Details
completion_mode
Required typed object selecting one completion policy and its parameters, not an array of simultaneous rules.
completion_mode: VoiceAgentDtmfCompletionMode
Property Value
first_digit_timeout_seconds
The maximum wait for the first digit in integer seconds, starting at receiver readiness and bounded by the remaining total deadline. Omit for fifteen seconds.
first_digit_timeout_seconds?: number
Property Value
number
output_variable_name
Preferred bare name for the output variable, required for secret: true and forbidden otherwise.
output_variable_name?: string
Property Value
string
secret
Required; no default. True returns a private reference, false returns the value. Privacy cannot be downgraded after collection starts.
secret: boolean
Property Value
boolean
timeout_seconds
Total deadline in seconds (1-300), including receiver setup. Overrides the Agent timeout; if both are omitted, defaults to 60. Duplicate calls do not reset it.
timeout_seconds?: number
Property Value
number