Provisioning APi get all alert rules

Hi, Is there a way to use provisioning api to get all the alert rules? The grafana official doc only shows how to get a specific alert rule by uid.

getting the folder information doesnt show the alert uids also…

Any ideas to get all the alert rules in unified alerting? Thanks so much

Hi @haileymoon,

you can check the API /api/ruler/grafana/api/v1/rules?subtype=cortex

1 Like