OpenAI · Schema

OrganizationSpendAlert

Represents a spend alert configured at the organization level.

LLMOpenAIArtificial IntelligenceGenerative AIChatbotsFoundation ModelsT1

Properties

Name Type Description
id string The identifier, which can be referenced in API endpoints.
object string The object type, which is always `organization.spend_alert`.
threshold_amount integer The alert threshold amount, in cents.
currency string The currency for the threshold amount.
interval string The time interval for evaluating spend against the threshold.
notification_channel object
View JSON Schema on GitHub

JSON Schema

openai-organization-spend-alert-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/openai/main/json-schema/openai-organization-spend-alert-schema.json",
  "title": "OrganizationSpendAlert",
  "description": "Represents a spend alert configured at the organization level.",
  "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/OrganizationSpendAlert",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The identifier, which can be referenced in API endpoints."
    },
    "object": {
      "type": "string",
      "enum": [
        "organization.spend_alert"
      ],
      "description": "The object type, which is always `organization.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 organization spend alert object"
  },
  "$defs": {
    "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-organization-spend-alert"
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.