What is the time limit on a API request?

An API request execution has a certain time limit to end in snapshot. For general API requests, timeout is set to 30 seconds, but when the file is streamed, the timeout/error out does not appear until the entire file is downloaded.