Querying Apollo Studio API

My use case is the following, I want to have some regression test based on our most frequent real life queries / operations.
Apollo Studio is the only place where I can find those operations, so I am looking at an automated way to retrieve those.