GET/api/orgs/{org_id}/spend-alerts

List spend alerts

Every alert rule with its most recent fired event. An alert emails once per rule per UTC month; it never blocks requests (budgets do). Org admin or the provisioning key.

Authentication: Bearer API key in the Authorization header

Path parameters

  • org_idstringrequired

    Your organization id (uuid). GET /api/whoami returns it.

Responses

  • 200

    Alerts.

    Response
    • alertsarray<object>required
      alerts
      • alert_idstringrequired
      • kindenumrequired
        "org_monthly_spend""budget_fraction"
      • threshold_nano_usdinteger | nullrequired
      • budget_idstring | nullrequired
      • threshold_fractionnumber | nullrequired
      • notify_emailstringrequired
      • created_atstringrequired
      • last_eventobject | nullrequired
        One of

        object

        • periodstringrequired

          YYYY-MM.

        • fired_atstringrequired
        • measured_nano_usdintegerrequired
        • threshold_nano_usdintegerrequired
        • delivered_atstring | nullrequired
        • delivery_errorstring | nullrequired
  • 401

    Missing, unknown or revoked API key.

    Response
    • errorstringrequired

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-safe string facts the caller needs to act (for example a suggested identifier).

  • 403

    The key is not a provisioning key (inference keys are refused, reads included), or it is a customer-plan key.

    Response
    • errorstringrequired

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-safe string facts the caller needs to act (for example a suggested identifier).

  • 404

    Unknown organization, or not the key's own organization.

    Response
    • errorstringrequired

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-safe string facts the caller needs to act (for example a suggested identifier).

Request

curl 'https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/spend-alerts' \
  -H "Authorization: Bearer <YOUR_API_KEY>"

Response

{
  "alerts": [
    {
      "alert_id": "3c5e7a9c-1e3b-4d5f-8a0c-2e4a6c8e0b69",
      "kind": "budget_fraction",
      "threshold_nano_usd": null,
      "budget_id": "c4a2e8f1-7b3d-4e9a-8c15-3f0d6b2a9e71",
      "threshold_fraction": 0.8,
      "notify_email": "finance@acme.example",
      "created_at": "2026-11-02T09:14:00Z",
      "last_event": {
        "period": "2026-11",
        "fired_at": "2026-11-18T03:00:00Z",
        "measured_nano_usd": 161000000000,
        "threshold_nano_usd": 160000000000,
        "delivered_at": "2026-11-18T03:00:04Z",
        "delivery_error": null
      }
    }
  ]
}

https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/spend-alerts