I am looking to programmatically retrieve all active queries using the API available in History/Admin/Database-Queries. I would then like to perform analysis on the gathered data. Would it be possible to accomplish this entirely through code?
Hello,
There is a Get All Running Queries API endpoint that should help you here: https://cloud.google.com/looker/docs/reference/looker-api/latest/methods/Query/all_running_queries
Let me know if you have any other questions.