OpenAIOpenAI API
POST/organization/spend_alerts/{alert_id}
管理update Organization Spend Alert。
OpenAI API 中用于 update Organization Spend Alert 的保留合约 POST Endpoint。模型与资源相关值由调用方在运行时提供。
覆盖固定 MIT 许可官方 revision 中全部 288 个 OpenAI Platform REST Endpoint(含类型化 SSE 流式与 Realtime 调用管理)。Hub 提供文档与独立 SDK/CLI,但不代理模型、账户或用量数据;调用方通过本地 API key 直连。
请求
- operationId
updateOrganizationSpendAlert- 服务器
https://api.openai.com/v1- 认证
- ApiKeyAuth, AdminApiKeyAuth
请求参数
alert_id
pathstring必填
OpenAI API 合约中的 alert id 值。
Body 参数
Content-Type: application/json
字段: currencyintervalnotification_channelthreshold_amount
响应
200
OrganizationSpendAlertapplication/json
供应商成功响应。
字段: currencyidintervalnotification_channelobjectthreshold_amount
{
"currency": "USD",
"interval": "month",
"notification_channel": {
"recipients": [],
"type": "email"
},
"object": "organization.spend_alert",
"threshold_amount": 0
}