Is there a timeout for assistant-request webhook?
# support
m
I need to fetch some data during assistant-request webhoook to setup the assistant. What is an acceptable response time? is there a timeout that would fail the call?
v
@marem An acceptable response time for fetching data during an assistant-request webhook to set up the assistant is typically around 500-700 milliseconds. This ensures that the application remains responsive and usable. Most systems have a timeout for such calls, and it's common for webhooks to have a timeout limit ranging from a few seconds to 30 seconds, depending on the service provider. It's important to check the specific documentation for the service you are using to find out the exact timeout value. If the data fetching operation is at risk of exceeding this limit, you might need to optimize the process or handle it asynchronously if possible.
You can continue this conversation by mentioning me in the message.
m
I use twilio as phone provider . If my assistant-request lasts 2s, is it ok with twilio?
@User
s
Hey @marem the timeout is 7.5seconds. In case you want to increase the timeout it's not possible, because we get a window of 15 seconds to start the call and we do require half of the share to breathe and setup other services involved.
Do let me know if you have more questions @marem
m
Ok, perfect thank you
9 Views