- Newest
- Most votes
- Most comments
The parameter "x-amz-lex:audio:start-timeout-ms:" has following specifications:
- Default value: 4000ms (4 seconds)
- Maximum value: 10000ms (10 seconds)
Use case example: The timeout can be increased in situations where customers need more time, such as retrieving a credit card to provide card details.
Best practice: While you can set it up to 10 seconds, it's not recommended to use very long timeouts as it impacts user experience by keeping the bot waiting for user input.
The documentation doesn't specify a maximum value for the "x-amz-lex:audio:start-timeout-ms" parameter. This parameter defines how long Amazon Lex V2 waits before assuming that the customer isn't going to speak.
According to the available information, the default value for this parameter is 3000 milliseconds (3 seconds) when used with Amazon Connect's "Get customer input" block. For general Lex V2 usage, the documentation indicates that the startTimeoutMs parameter (which is the equivalent API parameter) has a minimum value of 1, but doesn't mention a maximum limit.
Your observation about setting 8000ms but only getting 6000ms of actual timeout isn't directly addressed in the documentation. This could be due to implementation details or other factors not specified in the available information.
It's worth noting that while there isn't a documented maximum for this specific parameter, Amazon Lex does have other related limits, such as a maximum audio length of 55 seconds for the entire input.
Sources
Flow block in Amazon Connect: Get customer input - Amazon Connect
AudioAndDTMFInputSpecification - Amazon Lex API Reference
Quotas - Amazon Lex
Relevant content
- asked 4 years ago
- asked 5 years ago
- AWS OFFICIALUpdated 2 years ago

From AWS docs, https://docs.aws.amazon.com/lexv2/latest/dg/session-attribs-speech.html , the default is shown to be 4000ms. When I set the timeout to 4000ms, it remains as 6000ms. Where else can the timeout be set? It is not showing in any other customer get input block in the flow.
Hi AWS Support, I have re-tested and can confirm the the time out actually remains at around 4000ms, even when I change the Audio start " x- amz-lex:audio:start-timeout-ms:. " for all intents to 6000ms or 8000ms.