Skip to main content
POST
Create anomaly notification

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Scopes

write

Grants write access

Body

application/json

Create an Anomaly Notification for a Cost Report.

cost_report_token
string
required

The token of the Cost Report that has the notification.

threshold
integer<int32>

The threshold amount that must be met for the notification to fire.

user_tokens
string[]

The tokens of the Users that receive the notification.

recipient_emails
string[]

Email addresses that receive the notification. Must be organization users, on the account's SSO domain, or an approved third-party service address.

recipient_channels
string[]

The Slack/MS Teams channels that receive the notification.

Response

AnomalyNotification model

token
string
required
cost_report_token
string
required

The token for the CostReport the AnomalyNotification is associated with.

created_at
string
required

The date and time, in UTC, the AnomalyNotification was created. ISO 8601 Formatted.

Example:

"2023-08-04T00:00:00Z"

updated_at
string
required

The date and time, in UTC, the AnomalyNotification was last updated at. ISO 8601 Formatted.

Example:

"2023-08-04T00:00:00Z"

threshold
integer<int32>
required

The threshold amount that must be met for the notification to fire.

user_tokens
string[]
required

The tokens of organization users that receive the notification. Freeform SSO-domain and approved third-party emails are not included; see recipient_emails.

recipient_emails
string[]
required

The email addresses that receive the notification, including organization users, SSO-domain addresses, and approved third-party addresses.

recipient_channels
string[]
required

The channels that the notification is sent to.