How to export firing state alerts via db or api

I can see the firing state alerts on grafana web

but I want to use these data for analysing, I cannot find a way to get these firing instance

I try to find the backend database only find history alerts in annotation tables, but there is no other infomation or filed that I can decide which one is now firing.

Any Ideas?


Anything in grafana log files you can mine?

something like annotation table logs, it showed the alert created time but not the “for” time on the wed, I don’t know whether the alert is still firing.