Skip to main content
GET
/
anomaly_notifications
/
{anomaly_notification_token}
Get anomaly notification by token
curl --request GET \
  --url https://api.vantage.sh/v2/anomaly_notifications/{anomaly_notification_token} \
  --header 'Authorization: Bearer <token>'
{
  "token": "rprt_alrt_5af901100951705b",
  "cost_report_token": "rprt_0d88354748562c26",
  "created_at": "2024-04-09T15:05:37Z",
  "updated_at": "2024-04-09T15:05:37Z",
  "threshold": 10,
  "user_tokens": [
    "usr_e163fcb7aeb41f3b"
  ],
  "recipient_channels": []
}

Authorizations

Authorization
string
header
required

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

Path Parameters

anomaly_notification_token
string
required

Response

AnomalyNotification model

token
string
cost_report_token
string

The token for the CostReport the AnomalyNotification is associated with.

created_at
string

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

Example:

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

updated_at
string

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

Example:

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

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 channels that the notification is sent to.