OpenAI Health Alerts

Choose an OpenAI API alert for errors, cache misses, rate limits or Fast tier spillover. Set its scope and route triggers and recoveries to the right team.

Published

OpenAI Health Alerts

You can have OpenAI email the engineer on call when errors climb in your production project, then tell them when the error rate recovers. Health alerts watch your own API traffic. You choose the condition, who hears about it, and whether a trigger or recovery reaches the team by email or, for eligible organizations, by webhook.

Health alerts shipped on December 3, 2026. If customers are usually the first to report failures, start with the request they depend on most. A support ticket tells an engineer that someone had a problem. A health alert can tell them which project to open, what share of requests failed, and over what period. That gives support and engineering somewhere specific to start. API changelog

Four starter rules for a small team

Pick the rule whose notification would change someone's next decision. The default allowance is three custom rules across the organization and all its projects, including disabled rules. These four are choices. Set thresholds from your own traffic and tolerance for disruption. The figures below that illustrate thresholds come from examples in the Health alerts guide.

If you run…Rule to tryWhat the recipient can do
A customer-facing assistantError rate. Select the production project and HTTP 500, a server-error response. The guide illustrates a rate above 5% over 15 minutes. Each selected error code is counted separately against all matching requests.Email the on-call engineer. Check the affected requests and tell support which feature to try again.
A queue of document-processing jobsApproaching rate limit. Select the model, organization or project quota, and requests or tokens per minute. The guide illustrates token usage at or above 90% of the enforced limit for 10 consecutive minutes.Tell the job owner while there is still a scheduling decision to make. Check what else shares the quota before slowing a particular queue.
A writing assistant with a long, repeated promptPrompt cache hit rate. Select the project and watch for a fall below your chosen share over 15 minutes. This measures the fraction of input tokens served from cache. A long prompt weighs more than a short one.Email the prompt owner. Compare requests from before and after the last edit to see whether a change to the repeated opening text explains the drop.
An interactive feature that requests Fast serviceService tier spillover. Select the project and Fast as the source tier. Watch for the share of eligible routing attempts that fall back to standard because of capacity to rise above your threshold over five minutes.Ask the feature owner to compare the requested and served tiers before spending time rewriting a prompt to address a slowdown.

A fifth use is release triage. Suppose a platform engineer supports two projects using the same model. An organization-owned error rule can select both projects. OpenAI evaluates each selected project and model combination separately, so a busy, healthy project needn't dilute a smaller project's failure rate. The engineer can focus the investigation on the affected rollout. For a model change, keep the GPT-6.2 API migration guide with the release notes.

Set up the first rule in the dashboard

Choose who owns the rule first. For a shared operations team, open Settings → Organization → Alerts. For a rule maintained by one product team, select its project and open that project's Alerts settings. Ownership also determines where you configure a webhook later. An organization can own a rule that watches a single project.

  1. Create a custom alert and give it a name the recipient will recognize, such as Production HTTP 500 errors.
  2. Choose Error rate, the production project and HTTP 500. To follow the guide's worked example, enter 5% and 15 minutes.
  3. Choose the responsible owners or add the on-call email address. Save with evaluation enabled, then read back the scope, condition and recipients.
Metal signs show the HTTP 500 condition, 5% threshold, 15-minute window and email destination.
The guide’s dashboard example watches one error code. Both the threshold and the window belong to the rule you configure.

In the guide's example, 60 HTTP 500 responses among 1,000 matching requests give a 6% error rate. A single reading above 5% is insufficient. OpenAI checks the rolling window once a minute and needs two consecutive breaches to trigger. Two healthy readings resolve the incident. Open Alerts → History and match the affected group and window when you look in Usage. A daily average can hide the entire incident.

Traffic volume matters. Error alerts need at least 100 matching requests in the window. Cache alerts need 100 matching requests and 1,000 input tokens with usable cache measurements. Spillover needs 100 eligible attempts. Rate limit alerts instead use observed quota utilization, and a missing minute breaks the streak. A quiet project can go silent without establishing recovery. Keep an application-level check if you need to know whether a customer can complete a task when traffic is sparse.

Create the rule through the Admin API

In the dashboard, your role needs organization.read or project.read to view custom rules, and the corresponding organization.write or project.write permission to create or edit them. Investigating in Usage requires access to usage data as well. For automation, both scopes require an organization Admin API key. Only an API Platform organization owner can create that key and select its permissions. Admin key permissions

For organization ownership, send a POST to /v1/organization/health/alert_rules. Include the name, condition, applicable traffic filters and notification settings. The organization example selects a project in filters.project_ids and emails organization owners. For a spillover rule, the API calls the condition service_tier_fallback_rate. API thresholds are fractions, so the dashboard's 5% is 0.05. Organization rule creation reference

For project ownership, put the project ID in the path. Here is the project reference's create request. Its window is 300 seconds, a different example from the dashboard's 15 minutes. Substitute your project ID for proj_example. Project rule creation reference

Bash
curl -X POST https://api.openai.com/v1/organization/projects/proj_example/health/alert_rules \
  -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Project API errors",
    "condition": {
      "type": "error_rate",
      "threshold": 0.05,
      "window_seconds": 300
    },
    "notifications": {
      "email": {
        "enabled": true,
        "project_owners": true
      }
    }
  }'

Keep the returned rule ID. Before editing, retrieve the current rule and pass its version as expected_version. That lets two engineers discover that one of them has already changed the rule.

Send the incident to the team that owns it

Email works at every allowance level. Webhooks, which send an event to a server you operate, come with the 100-rule allowance. That allowance applies at $500 in cumulative qualifying prepaid credit purchases and to sales-managed organizations or those with qualifying postpaid or custom billing. The intermediate prepaid allowance at $100 is ten rules with email.

For webhook delivery, enable it on the rule, configure an endpoint in the owning organization or project, and subscribe to both health.alert.triggered and health.alert.resolved. Think of the incoming notification ID as a claim ticket. Your receiver uses it to collect the details before it sends anything to chat.

A notification ID enters a receiver that fetches details and routes them to team chat or an incident tool.
The webhook carries an ID. Your receiver retrieves the measurement and decides who should see it.

Picture a project-owned rule triggering during a shift. Your server verifies the signature against the raw request, saves the event before acknowledging receipt and uses webhook-id to recognize duplicate deliveries. Its worker then makes the guide's retrieval request, GET /v1/organization/projects/{project_id}/health/alerts/{alert_id}, with the owning project ID, the notification ID from data.id and the organization Admin key. Keep that key on your server.

Now the worker has the measured value, threshold, window and affected traffic. It could post them in the project team's chat channel or open an incident in its on-call tool. When the resolved event arrives, fetch its own snapshot and update the incident for the same rule and traffic group. Recovery in one project says nothing about another project's open incident.

Two tools worth building

Build the incident handoff first. A platform lead supporting several product teams could pay for a receiver that pairs each trigger with its recovery and puts both in the right team's incident thread. Start with one destination, a project-to-owner mapping and duplicate handling. Google Ads estimates 30 monthly searches for “on call alerting.” That's a small signal for the surrounding job. The stronger reason to try this build is the repeated work it removes on every handoff. Its biggest constraint is trust: a buyer must be eligible for webhooks and willing to run a receiver with an Admin key. A version they deploy themselves could address the latter.

A rule inventory could serve an engineering lead who inherits several projects. Start with a read-only report listing each rule, its scope, condition and recipients. Flag the production projects that have no matching error rule so their owners can decide whether to use a slot. Google Ads estimates 140 monthly searches for “api monitoring tools.” That measures interest in a broader tool category, and a team with one project can already review its rules in the dashboard. Test the idea with a team that has actually lost track of ownership before building an editor.

What happens to the bill?

A health rule sends a notification. It cannot cap spend. The Alerts page also contains separate default spend notifications, and those can send an email while requests continue. If a workload must stop at a budget boundary, choose a control that enforces it. OpenAI API hard spend limits

How can I monitor API calls?

For OpenAI traffic, start with the project and error code that matter to your users. Use alert history to find the affected window, then open Usage with the same filters. An alert measures a group of calls, so keep request-level records for diagnosis.

What is API security?

API security covers who can call or administer a service and how credentials are protected. For this integration, keep the webhook signing secret and organization Admin key in separate server-side settings. The first verifies the sender. The second authorizes retrieval of the notification.

Is ChatGPT an API?

ChatGPT is an app. These rules watch traffic from products calling the OpenAI API. For limits on using the app and Codex, see the shared ChatGPT and Codex allowance.

If the next decision is what it costs to serve those requests, compare the cheapest LLM APIs. For help connecting alerts to your existing on-call workflow, see AI production systems.

Published
Category
Build
Related Articles
Gemini Interactions API: Change an Agent's Rules and Tools Mid-Conversation

Gemini Interactions API: Change an Agent's Rules and Tools Mid-Conversation

How system_input steps on the Gemini Interactions API change an agent's rules and tools mid-conversation, why the cache survives, and where it stops.Dec 4, 2026Build
LM Studio Bionic: What It Is and How to Start

LM Studio Bionic: What It Is and How to Start

How Bionic works alongside LM Studio, where its models run and how to start a coding or document project on your computer.Dec 4, 2026Build
OpenRouter Free Models: Which to Call and What the Limits Are

OpenRouter Free Models: Which to Call and What the Limits Are

Find a free OpenRouter model for your project, make an API call, check your remaining quota, and see which providers may retain or train on prompts.Dec 4, 2026Build
Vapi AI: What It Is, What It Costs and How to Start

Vapi AI: What It Is, What It Costs and How to Start

Learn how Vapi answers and places calls, connects to a calendar or n8n, and what it takes to set up a first phone assistant.Dec 4, 2026Build
Claude-Mem: What It Remembers and How to Use It

Claude-Mem: What It Remembers and How to Use It

See what claude-mem saves between Claude Code sessions, how to install and disable it, and which records can leave your machine.Dec 4, 2026Build
Amazon Bedrock: What It Is, What It Costs, and How to Start

Amazon Bedrock: What It Is, What It Costs, and How to Start

See which models Amazon Bedrock offers, what AWS bills for, and how to try a first request. Decide when to use Bedrock or the model maker’s own API.Dec 4, 2026Build
Claude Code MCP

Claude Code MCP

Connect a local or hosted MCP server to Claude Code, check sign-in, and choose between a shared .mcp.json and a claude.ai connector.Dec 3, 2026Build
Vercel Sandbox Desktop

Vercel Sandbox Desktop

Start a cloud desktop, watch an agent drive Chrome, or open Blender. See the exact commands, SDK example, and what a viewer link lets a teammate do.Dec 3, 2026Build
Newsletter

One letter, every Sunday.Working systems, not hot takes.

Weekly. No spam. Unsubscribe anytime.