Alerts state history on grafana's db

Hello there,
been trying to extract the “state history” one can find on the alert tab of a panel but couldn’t find where this information is stored, where can it be found?

As far as I know I think it is extracted from the api of grafana
If you do a request to http://localhost:3000/api/annotations you will get the changes of the alerts in their states
Also, you can set some params to filter the results
Here is the documentation about it
Annotations HTTP API | Grafana Labs

But what I don’t know is how to get that information an manipulate them in a grafana dashboard
(Sorry for bad english)