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.

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_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 the users that receive the notification.

recipient_channels
string[]
required

The channels that the notification is sent to.