What happened
Rules belong to an organization or project. Error-rate alerts can track selected HTTP codes; cache-hit alerts can track project, model, service tier and observability tags; rate-limit alerts can track project and model against either organization or project quota; and spillover alerts can track project and model, with Fast as the source tier. (developers.openai.com)
Error-rate, cache-hit and spillover rules require at least one project. Rate-limit rules require a model, but organization-quota monitoring does not require a project. (developers.openai.com) Each combination of selected filter values is evaluated as its own traffic group; traffic across dimensions you leave unfiltered is combined. Error codes in an error-rate rule are evaluated separately. (developers.openai.com)
The error-rate metric is requests with one selected HTTP status divided by all matching requests; the cache-hit metric is cached input tokens divided by total input tokens. (developers.openai.com) Rate-limit alerts use peak usage of the enforced bucket divided by its limit. (developers.openai.com) A webhook carries event metadata and a notification ID in data.id; retrieving that notification provides the measurement, threshold, evaluation window and affected dimensions. (developers.openai.com)
Email can go to applicable organization or project owners plus up to 20 additional addresses. (developers.openai.com) Error-rate evaluation windows are 5, 15 or 30 minutes; cache-hit rules use a 15-minute window.
Why it matters
Treat a webhook as the event signal, not the full incident payload: the notification ID leads to measurement details, but retrieving them requires an organization Admin API key, even for a project-owned notification. Webhook-based response therefore depends on both organizational webhook allowance and access to that key.
Limits and uncertainty
Viewing rules requires organization.read or project.read for the chosen scope; creating or editing them requires the corresponding write permission. Following investigation links into Usage also requires access to usage data. (developers.openai.com) An organization’s alert allowance sets both its rule count and whether it can use webhooks. (developers.openai.com) The Alerts page also includes default spend alerts and API-key expiration reminders, but those settings do not appear in alert history. A spend alert notifies; it does not stop API requests. (developers.openai.com) The project and model selection requirements vary by rule type, and detailed notification retrieval still requires an organization Admin API key. (developers.openai.com)
Skill to build now
Open Alerts in the organization or project that should own the rule, then create an alert. (developers.openai.com) A documented starting point selects Error rate for a production project and HTTP 500, sets a 5% threshold over 15 minutes, adds email recipients and saves with evaluation enabled. (developers.openai.com) Once enough matching traffic is available, it triggers when the error rate exceeds 5% in two consecutive evaluations. (developers.openai.com) If webhook delivery is unavailable, the documentation advises starting with email. (developers.openai.com)
Reader takeaway
OpenAI’s API health alerts cover error rates, cache hits, rate-limit utilization and Fast-tier spillover, with email or webhook notifications. Start with an email rule for a production project; before building webhook-driven response, confirm your organization allows webhooks and arrange an organization Admin API key to retrieve measurement details.