How can I use PMM APIs to get data from query analytics dashboard

Hi All,
I would like to know if there is an API exposed by PMM to get the queries found on the query analytics dashboard.

I want to be able to see all queries ran on my RDS instanceas so that I can analyze any unusual queries

https://pmmdemo.percona.com/swagger

I don’t see anything that could be used to get QAN data.

you can replace swagger.json at the top by swagger-dev.json and all non-GAed endpoints will be visible there. /v0/qan/ endpoints are the ones that you are looking for.

Thanks @matthewb and @nurlan

@nurlan These APIs are non-GAed but they can be used , right ?

Yes, they can be used.

@nurlan Thank you for you support