OpenAIOpenAI API
POST/organization/spend_alerts
Manage create Organization Spend Alert.
Contract-preserving POST Endpoint for create Organization Spend Alert in the OpenAI API. Model and resource-specific values are supplied by the caller at runtime.
All 288 OpenAI Platform REST endpoints from a fixed MIT-licensed official revision, including typed SSE streaming and Realtime call management. Hub provides documentation and an independent SDK/CLI, but never proxies model, account, or usage data; callers connect directly with local API keys.
Request
- operationId
createOrganizationSpendAlert- Server
https://api.openai.com/v1- Authentication
- ApiKeyAuth, AdminApiKeyAuth
Request parameters
No URL, query, or header parameters.
Request body
CreateSpendAlertBodyrequired
Content-Type: application/json
Properties: currencyintervalnotification_channelthreshold_amount
Responses
200
OrganizationSpendAlertapplication/json
Successful supplier response.
Properties: currencyidintervalnotification_channelobjectthreshold_amount
{
"currency": "USD",
"interval": "month",
"notification_channel": {
"recipients": [],
"type": "email"
},
"object": "organization.spend_alert",
"threshold_amount": 0
}