As per our Management API Documentation, there is a limitation of 100 log events per request to retrieve logs, also you may only paginate through up to 1,000 search results.
However, can you provide me the exact error code and full message in order to investigate this further if necessary?
I have looked into the issue that you are facing and first of all, you request URI seems to be valid, I have tested on my end a similar URL for the request and it seemed to go through:
https://{{auth0_domain}}/api/v2/logs?page=0&per_page=99&client_name={random_app_name}&type=s*&date=2025-01-01 TO *
I believe the issue that you are having is caused by the fact that you are making too many requests to the Log Server and that is why you are receiving a load-shedding error
You can try testing it out with fewer requests, such as using for i in range(5) to see if you receive the same error.
Let me know if you are still facing issues with the error or if you have any other questions on the matter.
Fewer requests works, and should have mentioned that in my original post. So basically there is no way to retrieve in bulk without additional pagination logic. Thanks for your help.