{
"notification_policy": {
"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"
}
}{
"notification_policy": {
"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"
}
}Chronosphere API token
If true, validates the specified configuration without creating the NotificationPolicy. If the specified configuration is valid, the endpoint returns a partial response without the NotificationPolicy. If the specified configuration is invalid, the endpoint returns an error.
The NotificationPolicy to create.
Show child attributes
The name of the NotificationPolicy. You can modify this value after the NotificationPolicy is created.
The slug of the bucket that the notification policy belongs to. Required if
team_slug is not set.
The routing configuration for alerts that use this notification policy.
Show child attributes
The default notifiers to use if no override is found.
Show child attributes
The notifiers that will receive critical alerts.
The notifiers that will receive warn alerts.
A list of overrides to use for alert notification policies. Each override defines the labels that potentially match an alert. If an alert has matching labels, the override notification policy is used for that alert instead of the default notification policy. If multiple overrides match the same alert, the first matching override notification policy is used.
Show child attributes
The alert labels to match against. If an alert matches all of these labels, the override notifier is applied to that alert.
Show child attributes
The name of the label to match against. This always matches against an
exact label name, regardless of the value of type.
Determines how the label value is matched. This parameter doesn't
affect how the label name is matched.
EXACT, REGEX The value of the label to match against. If type is set to EXACT, this
matches against an exact label value. If type is set to REGEX, this
parameter is treated as a regular expression for parsing label values.
The notifiers that will receive the alerts matched by overrides.
Show child attributes
The notifiers that will receive critical alerts.
The notifiers that will receive warn alerts.
The unique identifier of the NotificationPolicy. If a slug isn't provided, one is generated based on the name field. You can't modify this field after the NotificationPolicy is created.
The slug of the team that the notification policy belongs to. Required if
bucket_slug is not set.
A successful response containing the created NotificationPolicy.
Show child attributes
The name of the NotificationPolicy. You can modify this value after the NotificationPolicy is created.
The slug of the bucket that the notification policy belongs to. Required if
team_slug is not set.
Timestamp of when the NotificationPolicy was created. Cannot be set by clients.
The routing configuration for alerts that use this notification policy.
Show child attributes
The default notifiers to use if no override is found.
Show child attributes
The notifiers that will receive critical alerts.
The notifiers that will receive warn alerts.
A list of overrides to use for alert notification policies. Each override defines the labels that potentially match an alert. If an alert has matching labels, the override notification policy is used for that alert instead of the default notification policy. If multiple overrides match the same alert, the first matching override notification policy is used.
Show child attributes
The alert labels to match against. If an alert matches all of these labels, the override notifier is applied to that alert.
Show child attributes
The name of the label to match against. This always matches against an
exact label name, regardless of the value of type.
Determines how the label value is matched. This parameter doesn't
affect how the label name is matched.
EXACT, REGEX The value of the label to match against. If type is set to EXACT, this
matches against an exact label value. If type is set to REGEX, this
parameter is treated as a regular expression for parsing label values.
The notifiers that will receive the alerts matched by overrides.
Show child attributes
The notifiers that will receive critical alerts.
The notifiers that will receive warn alerts.
The unique identifier of the NotificationPolicy. If a slug isn't provided, one is generated based on the name field. You can't modify this field after the NotificationPolicy is created.
The slug of the team that the notification policy belongs to. Required if
bucket_slug is not set.
Timestamp of when the NotificationPolicy was last updated. Cannot be set by clients.