How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

OpenAI Spend alerts API

The Spend alerts API from OpenAI — 4 operation(s) for spend alerts.

OpenAI Spend alerts API is one of 62 APIs that OpenAI publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 6 JSON Schema definitions.

Tagged areas include Spend alerts. The published artifact set on APIs.io includes an OpenAPI specification, a GitHub repository, and 6 JSON Schemas.

This API exposes 10 operations across 4 paths, and defines 8 schemas. It is described by OpenAPI 3.2.0, at version 2.3.0.

Requests are made against a single base URL, https://api.openai.com/v1.

10 operations 4 paths 8 schemas 2 DELETE4 GET4 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2.3.0
Base URL
https://api.openai.com
Authentication
HTTP Bearer, HTTP Bearer
License
MIT
Terms of Service
Resource Areas
1

Authentication & Security 2

OpenAI Spend alerts API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (ApiKeyAuth). It accepts HTTP bearer tokens (AdminApiKeyAuth). By default, every request must be authenticated.

Paths & Operations 10

Across 4 paths, the API surfaces 10 operations — 2 DELETE, 4 GET, 4 POST. Each is listed below with its method, path, parameters, and response codes.

Spend alerts 10
GET
/organization/projects/{project_id}/spend_alerts
List project spend alerts
list-project-spend-alerts 5 params → 200
POST
/organization/projects/{project_id}/spend_alerts
Create project spend alert
create-project-spend-alert 1 param body → 200
GET
/organization/projects/{project_id}/spend_alerts/{alert_id}
Retrieve project spend alert
retrieve-project-spend-alert 2 params → 200
POST
/organization/projects/{project_id}/spend_alerts/{alert_id}
Update project spend alert
update-project-spend-alert 2 params body → 200
DELETE
/organization/projects/{project_id}/spend_alerts/{alert_id}
Delete project spend alert
delete-project-spend-alert 2 params → 200
GET
/organization/spend_alerts
List organization spend alerts
list-organization-spend-alerts 4 params → 200
POST
/organization/spend_alerts
Create organization spend alert
create-organization-spend-alert body → 200
GET
/organization/spend_alerts/{alert_id}
Retrieve organization spend alert
retrieve-organization-spend-alert 1 param → 200
POST
/organization/spend_alerts/{alert_id}
Update organization spend alert
update-organization-spend-alert 1 param body → 200
DELETE
/organization/spend_alerts/{alert_id}
Delete organization spend alert
delete-organization-spend-alert 1 param → 200

Schemas 8

The contract defines 8 schemas that model the data the API accepts and returns. The most detailed are OrganizationSpendAlert (6 properties), ProjectSpendAlert (6 properties), OrganizationSpendAlertListResource (5 properties), ProjectSpendAlertListResource (5 properties). Each schema is shown below with its type and property counts.

OrganizationSpendAlertDeletedResource
object
Confirmation payload returned after deleting an organization spend alert.
3 properties 3 required
SpendAlertNotificationChannel
object
Email notification settings for a spend alert.
3 properties 2 required
CreateSpendAlertBody
object
Parameters for creating or updating a spend alert.
4 properties 4 required
ProjectSpendAlert
object
Represents a spend alert configured at the project level.
6 properties 6 required
OrganizationSpendAlert
object
Represents a spend alert configured at the organization level.
6 properties 6 required
ProjectSpendAlertDeletedResource
object
Confirmation payload returned after deleting a project spend alert.
3 properties 3 required
OrganizationSpendAlertListResource
object
Paginated list of organization spend alerts.
5 properties 5 required
ProjectSpendAlertListResource
object
Paginated list of project spend alerts.
5 properties 5 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

openai-spend-alerts-api-openapi.yml Raw ↑

Other APIs OpenAI publishes across the network.

OpenAI Responses API
OpenAI Moderations API
OpenAI Batch API
OpenAI Vector Stores API
OpenAI Uploads API
OpenAI Realtime API
OpenAI Evals API
OpenAI Videos API
OpenAI Conversations API
OpenAI Containers API
OpenAI ChatKit API
OpenAI Skills API
Where this information came from

This is an independent, third-party profile of OpenAI Spend alerts API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.