Create a new alert

Creates a new alert definition based on a template. The template's required fields represent criteria you may use to trigger an alert, but the new definition's fields specify the set of values that actually trigger the alert. After you create a new alert, it may take a couple of minutes before it has enough information before it can fire.

Query Params
string

For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Body Params
string
length ≥ 1

Identifies each alert definition.

fields
object
required

A mapping of contextual fields relevant to the alert.

string

Identifies the type of alert the template enables, either STATIC or ADAPTIVE. Static alert types specify raw values, while the adaptive alert type expresses standard deviations. The only available ADAPTIVE alert identifies excessive traffic, and its templateId is a@1.

Responses

Response body
object
string
length ≥ 1

Identifies the account under which the alert was created.

string
length ≥ 1

Identifies the alert definition.

editInfo
object

A summary of the alert's creation time and most recent edit.

boolean
required

When the alert origin is STATIC, indicates if the alert is allowed to fire. A false value may be due to variations in account and contract status that leaves the alert configured but inactive.

date-time
required

ISO 8601 timestamp for when the alert was created.

string
required
length ≥ 1

The user who created the alert.

date-time
required

ISO 8601 timestamp for when the alert was last edited.

string
required
length ≥ 1

The user who last edited the alert.

fields
object
required

The set of criteria that determines when the alert fires. The object's members vary depending on the template on which the alert is based. However, all fields include a name, the templateId on which the alert was based, and an array of email addresses for the alert's recipients.

email
array of strings
length ≥ 0

Email addresses of alert notification's recipients.

email
group
array of integers
length ≥ 1

Group identifiers to which alert should be assigned.

group
string
required
length ≥ 1

The human readable name for the alert.

string
required
length ≥ 1

Identifies the template.

links
array of objects
length ≥ 2
string

Identifies the type of alert the template enables, either STATIC or ADAPTIVE. Static alert types specify raw values, while the adaptive alert type expresses standard deviations. The only available ADAPTIVE alert identifies excessive traffic, and its templateId is a@1.

STATIC ADAPTIVE

Language
Authentication
URL