Reference

List cost alerts

GET
/api/v1/cost-alerts

Authorization

BearerAuth
AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/cost-alerts"
{
  "success": true,
  "timestamp": "2019-08-24T14:15:22Z",
  "data": [
    {
      "id": "string",
      "name": "string",
      "params": {
        "kind": "budget",
        "budget": "string",
        "reset": "monthly",
        "rules": [
          {
            "amount": "string",
            "unit": "percent",
            "window": "within",
            "days": 1,
            "reference": "start_of_month"
          }
        ],
        "cost_basis": "unblended"
      },
      "source_id": "string",
      "recipients": [
        {
          "name": "string",
          "email": "string",
          "member": true
        }
      ],
      "slack_channels": [
        {
          "id": "string",
          "name": "string"
        }
      ],
      "slack_channel": "string",
      "enabled": true,
      "paused_by": "string",
      "sent_to_me": false,
      "watching": [
        {
          "key": "string",
          "state": "ok",
          "period": "string",
          "observed_usd": 0
        }
      ]
    }
  ]
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  },
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  },
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  },
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  },
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  },
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  },
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  },
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  },
  "timestamp": "2019-08-24T14:15:22Z"
}
Ask the FinOps Agent about your cloud spend