---
title: "List persisted overage spend alerts"
method: GET
path: "/v1/spend-alerts"
---

# List persisted overage spend alerts

`GET /v1/spend-alerts`

## Request

- Base URL: `https://api.uploadcheck.app`
- URL: `https://api.uploadcheck.app/v1/spend-alerts`
- Auth: HTTP bearer

Returns Resend owner alert attempts for workspaces whose billable extra-minute spend crossed 100% of subscription value. Responses include billable overage spend and overage COGS audit context. Stored workspace API keys are pinned to their own workspace even if a different workspace_id query parameter is supplied.

## Query parameters

- `workspace_id` string
- `limit` integer

## Response `200`

Persisted spend alerts with status, provider, owner email, minutes, billable overage spend, overage rate, and COGS audit context

- object
  - `spendAlerts` SpendAlert[]
    - `alertId` string
    - `createdAt` string, date-time
    - `workspaceId` string, nullable
    - `ownerEmail` string, nullable
    - `planId` string, nullable
    - `billingPeriod` string, nullable
    - `minutesUsed` integer, nullable
    - `includedMinutes` integer, nullable
    - `planPriceCents` integer, nullable
    - `overageRevenueCents` integer, nullable: Billable extra-minute spend at the plan overage rate; this is the alert trigger value.
    - `overageRateCentsPerMinute` number, nullable: Customer overage price in cents per minute for the plan.
    - `overageCostCents` number, nullable: Estimated overage COGS retained as audit context, not the trigger value.
    - `observedTotalCogsCents` number, nullable
    - `status` 'sent' | 'failed' | 'skipped'
    - `provider` string, nullable
    - `providerMessageId` string, nullable
    - `error` string, nullable

## Other responses

- `401`: Missing or invalid API key
- `403`: API key lacks api_keys:read scope

---

[API](https://skmtc.dev/uploadcheck/apis/uploadcheck-app-api.md) · [All operations](https://skmtc.dev/uploadcheck/apis/uploadcheck-app-api/llms.txt) · [OpenAPI document](https://skmtc.dev/uploadcheck/apis/uploadcheck-app-api/revisions/d7c8a14caa30?raw)
