---
title: "Lists project spend alerts."
method: GET
path: "/organization/projects/{project_id}/spend_alerts"
tags: ["Spend alerts"]
---

# Lists project spend alerts.

`GET /organization/projects/{project_id}/spend_alerts`

## Path parameters

- `project_id` string, required

## Query parameters

- `limit` integer
- `order` 'asc' | 'desc'
- `after` string
- `before` string

## Response `200`

Project spend alerts listed successfully.

- ProjectSpendAlertListResource — Paginated list of project spend alerts.
  - `object` 'list', required — Always `list`.
  - `data` ProjectSpendAlert[], required — Spend alerts returned in the current page.
    - `id` string, required — The identifier, which can be referenced in API endpoints.
    - `object` 'project.spend_alert', required — The object type, which is always `project.spend_alert`.
    - `threshold_amount` integer, required — The alert threshold amount, in cents.
    - `currency` 'USD', required — The currency for the threshold amount.
    - `interval` 'month', required — The time interval for evaluating spend against the threshold.
    - `notification_channel` SpendAlertNotificationChannel, required — Email notification settings for a spend alert.
      - `type` 'email', required — The notification channel type. Currently only `email` is supported.
      - `recipients` string[], required — Email addresses that receive the spend alert notification.
      - `subject_prefix` string, nullable — Optional subject prefix for alert emails.
  - `first_id` string, nullable, required — The ID of the first spend alert in this page.
  - `last_id` string, nullable, required — The ID of the last spend alert in this page.
  - `has_more` boolean, required — Whether more spend alerts are available when paginating.

---

[API](https://skmtc.net/openai/apis/openapi.md) · [All operations](https://skmtc.net/openai/apis/openapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openai/openapi/revisions/63028c4d3916/schema)
