GET method for rule-groups API always returns "rulegroup not found"

  • What Grafana version and what operating system are you using?
    Grafana v9.4.3 (cf0a135595)
    Linux, docker, Kubernetes

  • What are you trying to achieve?
    Trying to get data of and alerts group through the developer API

  • How are you trying to achieve it?
    I created alert “mytest1”, in group “testgroup” with interval 20m, in folder “testfolder”.

Send HTTP request with GET method to

Folder: testfolder
Group: testgroup

  • What happened?
    The API returns “rulegroup not found”, code 404

  • What did you expect to happen?
    The rule group’s data

  • Can you copy/paste the configuration(s) that you are having problems with?

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

  • Did you follow any online instructions? If so, what is the URL?
    Alerting Provisioning HTTP API | Grafana documentation

This API does not work for GET.

GET /api/v1/provisioning/folder/:folderUid/rule-groups/:group

Ho @yosiasz , that is what I’m trying to use and it returns “rulegroup not found” all the time. And the rulegroup exists.


is different than


are you using the :folderUid and it still does not work?

@yosiasz you were right. I was using the folder name instead of folderUID
Thank you!

1 Like