OpenAI · Schema

ProjectSpendAlertListResource

Paginated list of project spend alerts.

LLMOpenAIArtificial IntelligenceGenerative AIChatbotsFoundation ModelsT1

Properties

Name Type Description
object string Always `list`.
data array Spend alerts returned in the current page.
first_id object The ID of the first spend alert in this page.
last_id object The ID of the last spend alert in this page.
has_more boolean Whether more spend alerts are available when paginating.
View JSON Schema on GitHub

JSON Schema

openai-project-spend-alert-list-resource-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/openai/main/json-schema/openai-project-spend-alert-list-resource-schema.json",
  "title": "ProjectSpendAlertListResource",
  "description": "Paginated list of project spend alerts.",
  "x-generated": "2026-09-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/openai-spend-alerts-api-openapi.yml#/components/schemas/ProjectSpendAlertListResource",
  "type": "object",
  "properties": {
    "object": {
      "type": "string",
      "enum": [
        "list"
      ],
      "description": "Always `list`.",
      "x-stainless-const": true
    },
    "data": {
      "type": "array",
      "description": "Spend alerts returned in the current page.",
      "items": {
        "$ref": "#/$defs/ProjectSpendAlert"
      }
    },
    "first_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "The ID of the first spend alert in this page."
    },
    "last_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "The ID of the last spend alert in this page."
    },
    "has_more": {
      "type": "boolean",
      "description": "Whether more spend alerts are available when paginating."
    }
  },
  "required": [
    "object",
    "data",
    "first_id",
    "last_id",
    "has_more"
  ],
  "$defs": {
    "ProjectSpendAlert": {
      "type": "object",
      "description": "Represents a spend alert configured at the project level.",
      "properties": {
        "id": {
          "type": "string",
          "description": "The identifier, which can be referenced in API endpoints."
        },
        "object": {
          "type": "string",
          "enum": [
            "project.spend_alert"
          ],
          "description": "The object type, which is always `project.spend_alert`.",
          "x-stainless-const": true
        },
        "threshold_amount": {
          "type": "integer",
          "description": "The alert threshold amount, in cents."
        },
        "currency": {
          "type": "string",
          "enum": [
            "USD"
          ],
          "description": "The currency for the threshold amount."
        },
        "interval": {
          "type": "string",
          "enum": [
            "month"
          ],
          "description": "The time interval for evaluating spend against the threshold."
        },
        "notification_channel": {
          "$ref": "#/$defs/SpendAlertNotificationChannel"
        }
      },
      "required": [
        "id",
        "object",
        "threshold_amount",
        "currency",
        "interval",
        "notification_channel"
      ],
      "x-oaiMeta": {
        "name": "The project spend alert object"
      }
    },
    "SpendAlertNotificationChannel": {
      "type": "object",
      "description": "Email notification settings for a spend alert.",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "email"
          ],
          "description": "The notification channel type. Currently only `email` is supported.",
          "x-stainless-const": true
        },
        "recipients": {
          "type": "array",
          "description": "Email addresses that receive the spend alert notification.",
          "items": {
            "type": "string"
          }
        },
        "subject_prefix": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "description": "Optional subject prefix for alert emails."
        }
      },
      "required": [
        "type",
        "recipients"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/openai-project-spend-alert-list-resource"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.