Thanks for posting your question in the Microsoft Q&A forum.
The default timeout for Azure API Management is 300 seconds (5 minutes). While you can set higher timeout values, Microsoft documentation warns that values greater than 240 seconds (4 minutes) may not be reliably honored. This is because the underlying network infrastructure can drop idle connections after this time.
You can set the timeout using the <forward-request>
policy in your API Management configuration. For example
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful