---
title: "Gets all Grafana-managed alert rules that were imported from Prometheus-compatible sources, grouped by namespace."
method: GET
path: "/convert/api/prom/rules"
tags: ["convert_prometheus"]
---

# Gets all Grafana-managed alert rules that were imported from Prometheus-compatible sources, grouped by namespace.

`GET /convert/api/prom/rules`

## Response `200`

PrometheusNamespace

## Other responses

- `403` — ForbiddenError
- `404` — NotFound

---

[API](https://skmtc.net/grafana/apis/http-api.md) · [All operations](https://skmtc.net/grafana/apis/http-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/grafana/http-api/versions/df55ba1718ba/schema)
