---
title: "Gets a single rule group in Prometheus-compatible format if it was imported from a Prometheus-compatible source."
method: GET
path: "/convert/api/prom/rules/{NamespaceTitle}/{Group}"
tags: ["convert_prometheus"]
---

# Gets a single rule group in Prometheus-compatible format if it was imported from a Prometheus-compatible source.

`GET /convert/api/prom/rules/{NamespaceTitle}/{Group}`

## Request

- Base URL: `/api` (relative, and the document’s source URL is not known)
- URL: `/api/convert/api/prom/rules/{NamespaceTitle}/{Group}`
- Auth: one of:
  - HTTP basic
  - API key in header `Authorization`

## Path parameters

- `NamespaceTitle` string, required
- `Group` string, required

## Response `200`

PrometheusRuleGroup

## Other responses

- `403`: ForbiddenError
- `404`: NotFound

---

[API](https://skmtc.dev/grafana/apis/grafana-http-api.md) - [All operations](https://skmtc.dev/grafana/apis/grafana-http-api/llms.txt) - [OpenAPI document](https://skmtc.dev/grafana/apis/grafana-http-api/revisions/df55ba1718ba?raw)
