Skip to main content
GET
/
api
/
v1
/
config
/
notification-policies
cURL
curl --request GET \
  --url https://tenant.chronosphere.io/api/v1/config/notification-policies \
  --header 'API-Token: <api-key>'
{
  "notification_policies": [
    {
      "name": "<string>",
      "bucket_slug": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "routes": {
        "defaults": {
          "critical": {
            "notifier_slugs": [
              "<string>"
            ],
            "repeat_interval_secs": 123
          },
          "warn": {
            "notifier_slugs": [
              "<string>"
            ],
            "repeat_interval_secs": 123
          }
        },
        "overrides": [
          {
            "alert_label_matchers": [
              {
                "name": "<string>",
                "type": "EXACT",
                "value": "<string>"
              }
            ],
            "notifiers": {
              "critical": {
                "notifier_slugs": [
                  "<string>"
                ],
                "repeat_interval_secs": 123
              },
              "warn": {
                "notifier_slugs": [
                  "<string>"
                ],
                "repeat_interval_secs": 123
              }
            }
          }
        ]
      },
      "slug": "<string>",
      "team_slug": "<string>",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "page": {
    "next_token": "<string>"
  }
}

Authorizations

API-Token
string
header
required

Chronosphere API token

Query Parameters

page.max_size
integer<int64>

Sets the preferred number of items to return per page. If set to 0, the server will use its default value. Regardless of the value specified, clients must never assume how many items will be returned.

page.token
string

An opaque page token that identifies which page the client should request. An empty value indicates the first page.

slugs
string[]

Filters results by slug, where any NotificationPolicy with a matching slug in the given list (and matches all other filters) will be returned.

names
string[]

Filters results by name, where any NotificationPolicy with a matching name in the given list (and matches all other filters) will be returned.

bucket_slugs
string[]

Filters results by bucket_slug, where any NotificationPolicy with a matching bucket_slug in the given list (and matches all other filters) will be returned.

team_slugs
string[]

Filters results by team_slug, where any NotificationPolicy with a matching team_slug in the given list (and matches all other filters) will be returned.

Response

A successful response.

notification_policies
object[]
page
object