Skip to main content
GET
/
cost_alerts
Get all cost alerts
curl --request GET \
  --url https://api.vantage.sh/v2/cost_alerts \
  --header 'Authorization: Bearer <token>'
{
  "links": {
    "self": "https://api.vantage.sh/v2/cost_alerts",
    "first": "https://api.vantage.sh/v2/cost_alerts?page=1",
    "next": null,
    "last": "https://api.vantage.sh/v2/cost_alerts?page=1",
    "prev": null
  },
  "cost_alerts": [
    {
      "token": "cstm_alrt_rl_945f63c6c91cd824",
      "title": "Default Alert Rule",
      "email_recipients": [],
      "slack_channels": [],
      "teams_channels": [],
      "created_at": "2024-04-21T15:19:49.673Z",
      "updated_at": "2025-04-21T15:19:49.673Z",
      "workspace_token": "wrkspc_7d5a18b7d02942da",
      "interval": "day",
      "threshold": 1000,
      "unit_type": "currency",
      "report_tokens": [
        "rprt_a88be0a2af07fe10"
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Response

200 - application/json

List all Cost Alerts

CostAlerts model

cost_alerts
object[]