Query the internal annotation table in grafana database for recorded alerts

I want to create a dashboard which can show only the alerts that has been triggered for all the devices and for all scenarios (cpu usage, temperature) so is it possible to query those alerts and display them on the dashboard, if so can anyone guide how to do that.
Thanks in advance.