AI News
All stories
Official

OpenAI adds Health alerts for API error rates, cache hits and rate limits

OpenAI says its new Health alerts monitor API error rates, prompt cache hit rates, rate limit use and service tier spillover, with email or webhook notifications.

Products · · 2 min read

OpenAI has added Health alerts to its API platform. The feature watches four operational signals and notifies a team by email or webhook when a rule's condition triggers or resolves. The signals are error rates, prompt cache hit rates, rate limit utilization and service tier spillover. Rules can be managed in the dashboard or through the Admin APIs, which cover both organizations and projects.

The documentation defines each alert type. An error rate alert fires on an increase in requests returning the HTTP error codes a user selects. A prompt cache hit rate alert fires on a decrease in the share of input tokens served from the cache, so it tracks a falling ratio rather than a raw count. An approaching rate limit alert watches for sustained utilization near an organization or project quota. Service tier spillover counts an increase in eligible attempts that fall back from the Fast tier to the standard tier because of capacity.

The documentation's worked example shows how evaluation works. It sets up a rule for HTTP 500 errors in a production project, with a 5% threshold and a 15-minute window. The rule divides the number of HTTP 500 responses by the total number of matching requests over a rolling window. It triggers only after the error rate exceeds 5% in two consecutive evaluations. A short spike that clears within one evaluation would therefore not trigger the rule.

Default alerts work differently from custom rules. Spend alerts notify recipients when monthly spend reaches a threshold set as a percentage of the monthly limit. The documentation's example is an 80% threshold on a $1,000 limit, which corresponds to $800. A spend alert sends a notification and does not stop API requests. Hard spend limits are a separate control. API key expiration reminders can begin between 1 and 30 days before a key expires. They can go to organization or project owners, key owners and up to 20 additional addresses. The documentation notes that default alerts do not appear in the alert history that custom rules use.

Access is split by permission level. Viewing custom rules requires organization.read or project.read for the selected scope. Creating and editing them requires organization.write or project.write. An organization's alert allowance sets how many custom rules it can create and whether it can use webhooks. The documentation advises starting with email if webhook delivery is not available. According to the announcement, an organization Admin API key can retrieve notification details for both organization-owned and project-owned alerts.

What changed

OpenAI's API platform now has Health alerts that monitor error rates, prompt cache hit rates, rate limit utilization and service tier spillover, and notify by email or webhook.

Type: New capability · Applies to: API platform, Admin APIs

Why it matters

Teams running production workloads on the OpenAI API can detect rate limit pressure, cache degradation or rising errors without building their own monitoring.

What you can do

Teams running production workloads on the OpenAI API could set alert rules for error rates and rate limit use in the dashboard or via the Admin APIs.

Original source

Where we saw it

1 source

OpenAI API changelog

AI wrote this summary from the sources listed, and nobody reviewed it individually before publication. Check the original source before you rely on it. How it works