An alert is a state transition, not a chart threshold
OpenAI released health alerts on 3 December 2026 for error rate, prompt cache hit rate, approaching rate limits and service-tier spillover. The feature can notify by email or webhook when a configured traffic group crosses a threshold.
The useful change is not another dashboard. It is an API surface that emits a trigger event and a later recovery event for a named rule, scope and measurement window. That lets an engineering team connect AI traffic behavior to an incident workflow without polling an aggregate graph.
The feature still does not decide whether to page someone, open a ticket, reduce traffic or change a model. Those are product and reliability decisions. If a team forwards every alert directly to on-call, it has moved the threshold but not designed the response.
Treat each rule as an incident contract: define the signal, traffic group, trigger state, recovery state, owner, evidence to retrieve and allowed response before enabling delivery.
Four signals describe four different failures
The four alert types should not share one generic runbook.
An error-rate rule measures selected HTTP errors divided by all matching requests. It supports 5, 15 or 30-minute windows. OpenAI documents a minimum of 100 eligible attempts for the five-minute evaluation, which means a quiet project may not produce a useful short-window signal.
A prompt-cache rule measures cached input tokens divided by total input tokens over 15 minutes. A falling ratio can indicate a changed model, reordered tools, a modified prompt prefix or intentional compaction. It is a cost and latency signal, not proof that answer quality changed. OpenAI's cache diagnostics can compare individual requests and identify causes such as a model, service tier, tool set or earlier input change.
A rate-limit rule measures peak requests per minute or tokens per minute against the enforced bucket. It evaluates one-minute intervals and can require between 1 and 60 consecutive breaching minutes. The quota scope may be shared across several models, so the model named in an incident is not necessarily the only traffic consuming that bucket.
A service-tier spillover rule measures eligible Fast attempts that fall back to the standard tier because of capacity. It uses a five-minute window. That can explain latency changes while requests still succeed, but it does not measure the application's end-to-end response time.
Name incidents after the mechanism: elevated 500 rate, cache reuse collapse, quota saturation or Fast spillover. A single label such as "OpenAI degraded" hides the decision the responder needs to make.
Scope the traffic before choosing the threshold
Health rules can live at organization or project scope and can filter by project, model, service tier and other dimensions. Each combination of selected values is evaluated as a separate traffic group. Two projects and two models can therefore create four independent evaluations when all combinations receive traffic. Selected HTTP status codes are evaluated separately too.
That multiplication matters for ownership and noise. An organization rule that monitors every production project can produce several incidents from one dependency failure. A narrowly scoped project rule may miss a shared quota problem.
Start from the response path. Put customer-facing workflows, background jobs, evaluation traffic and development traffic in distinct projects or stable observability groups. Then decide which failures share an owner and remediation. Do not discover during an incident that load tests and production requests were averaged into the same cache metric.
Thresholds should come from the application's service objective, not a round percentage that looks reasonable. Google's SRE guidance recommends using error-budget burn rates and multiple windows to distinguish a fast outage from a slower sustained loss. OpenAI health alerts provide fixed vendor-side measurements, but they do not replace the latency, completion and correctness indicators that define your own user experience.
Use a vendor error alert as one input. Correlate it with completed workflows, tool failures, queue age and end-to-end latency before deciding severity.
Make webhook acceptance idempotent
A health webhook contains an event type and a notification identifier. The receiver then retrieves the immutable measurement, threshold, time window and dimensions with an organization Admin API key. Notifications remain retrievable for 30 days.
The webhook guide says delivery can be retried for up to 72 hours with exponential backoff, and duplicate deliveries can occur. It provides a webhook-id header as an idempotency key.
That creates a clear ingestion sequence:
- Read the raw request body and verify its signature before parsing.
- Insert the webhook ID into a table with a uniqueness constraint.
- Persist the event and return a successful response quickly.
- Retrieve the alert details in a background worker.
- Upsert an incident keyed by rule and affected traffic group.
- Attach a recovery notification to that incident instead of creating a second one.
Do not acknowledge first and plan to save later. A process crash after the response can lose the only useful copy until the next retry, and a successful response suppresses that retry. Do not run remediation inside the request handler either. Slow work increases timeouts and duplicates.
Store the retrieved snapshot, because the retrieval window is not an incident-retention policy. Keep the minimum evidence needed: rule ID, notification ID, affected dimensions, measurement, threshold, window and timestamps. Avoid copying prompts or model outputs into the alert record.
Treat trigger and recovery as separate evidence
Error-rate, cache-hit and spillover rules require two consecutive breaching evaluations to trigger and two healthy evaluations to resolve. Rate-limit rules use the configured number of breaching minutes and two healthy evaluations for recovery. Missing or insufficient data interrupts the sequence and does not prove recovery.
This is a small state machine. Model it explicitly as pending, active, recovering and resolved, or use equivalent states that match your incident platform. A single boolean cannot distinguish one healthy evaluation from a completed recovery.
Test both directions before sending alerts to on-call. Generate enough controlled traffic to breach a non-production rule, confirm the retrieved dimensions, then restore the signal and verify that the recovery joins the same incident. Test a duplicate webhook and a worker failure after persistence. The useful acceptance criterion is not "email arrived." It is "one incident opened, carried the correct evidence and closed only after the documented recovery condition."
Rule changes need concurrency control too. The update API requires an expected_version, and a condition type cannot be changed in place. Retrieve the latest rule before editing, fail on a version conflict and create a new rule when the measurement type changes. Otherwise two operators can silently overwrite thresholds during the incident they are trying to diagnose.
What this changes and what it does not
Health alerts make four pieces of OpenAI's control-plane telemetry actionable without building a polling service. Teams can detect vendor error ratios, cache regressions, quota pressure and Fast-tier fallback with documented windows and dimensions.
They do not measure whether an agent completed the user's task correctly. A request can return HTTP 200 while a tool call fails, a workflow loops or an answer violates policy. They also do not provide an SLO, choose escalation severity or guarantee immediate notification. OpenAI states that delivery timing is not guaranteed and that new or low-traffic rules may lack enough data to evaluate.
The operating standard is narrower: scope traffic deliberately, map each signal to a distinct runbook, ingest webhooks idempotently, retrieve and preserve the measurement, and keep trigger and recovery in one incident state machine. The alert identifies a vendor-side symptom. Your incident contract decides what that symptom means for the product.
Written by Dandelion Labs