---
title: "Get the notification policy tree."
method: GET
path: "/v1/provisioning/policies"
tags: ["provisioning"]
deprecated: true
---

# Get the notification policy tree.

`GET /v1/provisioning/policies`

## Request

- Base URL: `/api` (relative, and the document’s source URL is not known)
- URL: `/api/v1/provisioning/policies`
- Auth: one of:
  - HTTP basic
  - API key in header `Authorization`

> **Deprecated.**

## Response `200`

Route

- Route: A Route is a node that contains definitions of how to handle alerts. This is modified from the upstream alertmanager in that it adds the ObjectMatchers property.
  - `active_time_intervals` string[]
  - `continue` boolean
  - `group_by` string[]
  - `group_interval` string
  - `group_wait` string
  - `match` object: Deprecated. Remove before v1.0 release.
  - `match_re` MatchRegexps
  - `matchers` Matcher[]: Matchers is a slice of Matchers that is sortable, implements Stringer, and provides a Matches method to match a LabelSet against all Matchers in the slice. Note that some users of Matchers might require it to be sorted.
    - `Name` string
    - `Type` integer
    - `Value` string
  - `mute_time_intervals` string[]
  - `object_matchers` ObjectMatcher[]
    - string[]
  - `provenance` string
  - `receiver` string
  - `repeat_interval` string
  - `routes` Route[]

## Other responses

- `403`: ForbiddenError

---

[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)
