Is there anyway to get your logs via API?

The Logs and Dataset feature in AI studio is great. But I have thousands of requests and it takes a while to load and there is no option to download/export all your logs at once. You can only do 100 at a time. Is there any API to access these logs? Can I view them somehow on the google cloud console?

Thanks.