App intent perform execution time limit for iOS

Is there a time limit for the perform method execution in iOS? I'm implementing App Intents that call an API from the perform method. Based on my testing, it works fine if the API completes within 10 seconds. However, if it takes longer, Siri ends the process with an error.

Answered by DTS Engineer in 805501022

Yes, the system imposes limits on how long you have before you're expected to return a result from your intent's execution. This maintains the user experience, as an app that takes too long to complete the requested task in a voice-only experience is indistinguishable from an app that has significant other issues, as the user has no idea if the action is taking a long time to complete but will finish eventually, or will never complete for some reason.

— Ed Ford,  DTS Engineer

Yes, the system imposes limits on how long you have before you're expected to return a result from your intent's execution. This maintains the user experience, as an app that takes too long to complete the requested task in a voice-only experience is indistinguishable from an app that has significant other issues, as the user has no idea if the action is taking a long time to complete but will finish eventually, or will never complete for some reason.

— Ed Ford,  DTS Engineer

App intent perform execution time limit for iOS
 
 
Q