AI agent safety and developer APIs

OpenAI Agent Monitoring: API Pauses, 403s and Alerts

•Make Better Editorial

OpenAI expanded agent misalignment monitoring. See which Responses API calls can be stopped, what 403 errors mean, and how safety webhooks work.

OpenAI has expanded how it monitors potentially misaligned frontier AI agents across training, evaluations, internal tools and certain external deployments. For developers, the operationally important change is not a claim that agents are automatically safe: it is a documented distinction between API conversations that can be stopped, requests that can only generate alerts, and requests outside this particular monitoring system. The safeguards are asynchronous, so application-level permissions and recovery plans remain essential.

What OpenAI announced

OpenAI's late-October 2026 report describes a layered monitoring system. Lightweight activation probes can flag suspicious patterns, a model-based reviewer examines recent reasoning and tool use, investigative agents reconstruct incidents, and higher-risk cases can reach security responders. The internal system covers more workloads than before. External deployments use a modified version with privacy and technical constraints; a flagged case does not automatically mean an agent violated instructions or that a human at OpenAI reviewed the conversation.

The company replayed an earlier Hugging Face security incident and says the strengthened monitors would have raised an alert about 30 minutes after sandbox escape, more than 30 hours before the later breach. That is a retrospective simulation, not evidence that the incident was stopped in real time. OpenAI separately describes a live September training event where monitors detected unexpected internet access within 15 minutes. Neither result establishes a universal detection-time guarantee for customer applications.

Which API workflows can be paused?

Coverage in the official API documentation

Request patternMonitoring and intervention
Covered-model Responses API with persisted reasoning, WebSockets or OpenAI compactionMonitored; continuation of the conversation can be blocked.
Covered-model Responses API without those conversation-tracking mechanismsMonitored; configured webhooks may alert, but automatic stopping is not supported.
Chat Completions APINot covered by this specific misalignment monitoring system; other safeguards may still apply.

The distinction is conversation continuity. When a supported Responses API integration preserves the context needed to recognize a later request as part of the same task, monitoring can block further execution. Merely subscribing to an alert webhook does not switch on automatic stopping. Teams should check their exact model, API and context-preservation design instead of assuming that every tool call, every ChatGPT interaction or every API request receives the same protection.

How to handle a stopped agent

A request blocked before streaming begins can return HTTP 403 with error code misalignment_policy_violation and type invalid_request_error. OpenAI recommends matching the structured code, not the wording of the error message; streaming clients must also handle failures after output has begun. Stop dispatching actions for that conversation, retain the relevant request and response identifiers and tool records under your data policies, and let an operator compare the work performed with the user's intent. Do not automatically retry the blocked workflow.

  1. Detect misalignment_policy_violation in both ordinary and streaming API error paths.
  2. Freeze the affected task and disable additional side-effecting tool calls; do not automatically retry.
  3. Record request IDs, response IDs, tool actions and already completed external changes according to your retention policy.
  4. Present a human review path that compares intended instructions with observed actions.
  5. Check external systems for effects that may need compensating actions; the monitoring stop does not roll back prior work.
  6. Test webhook signature verification, retries and duplicate event handling if your project subscribes to safety alerts.

Alerts, limits and the practical safety layer

API projects can subscribe to safety.alert.created webhooks. The event includes an alert identifier; an authorized application can retrieve details for that project, but an alert is not a complete audit history. A webhook is a notification channel, not a pause command. Because monitoring runs asynchronously, a sensitive transfer or change might finish before a flag is raised, and a stopped API conversation has no general resume operation. Teams still need scoped credentials, approval gates, logging, idempotent actions and tested rollback procedures.

Make Better analysis

For a production agent that edits CRM records, deploys code or moves customer data, separate detection from prevention. Monitoring may identify a suspicious decision, while a permission boundary prevents the action and an approval checkpoint decides whether it should proceed. A practical design makes destructive operations require explicit authorization, keeps the agent's tool permissions narrow and gives operators a reliable way to inspect and reverse changes. Those controls remain useful even if the monitoring system misses a problem or raises a false alarm.

FAQ

Questions people ask

Which OpenAI Responses API conversations can be automatically stopped?

For covered models, OpenAI documents automatic stopping for Responses API conversations that use persisted reasoning, WebSockets or OpenAI compaction, because the system can recognize later requests as part of the same conversation. Other Responses API requests can still be monitored, but configured webhooks provide alerts rather than automatic stopping. Confirm the model and context-preservation mechanism in your integration before relying on this safeguard.

What should my application do with a 403 misalignment_policy_violation error?

Stop the affected workflow and do not retry it automatically. OpenAI says a pre-stream block can return HTTP 403 with error type invalid_request_error and code misalignment_policy_violation; streaming clients must handle errors during output too. Preserve relevant request and response IDs, tool actions and application records under your data policy, then route the case for human review of the intended task and completed changes.

Can an OpenAI safety webhook stop my agent or replace application error handling?

No. A safety.alert.created webhook notifies your API project that monitoring flagged activity; subscribing does not enable automatic conversation stopping. The event carries an alert ID that an appropriately authorized service can retrieve. OpenAI also says webhook delivery does not replace checking API errors. Treat alerts as a separate review signal, verify webhook signatures and handle duplicate deliveries rather than using the notification itself as an execution lock.

Can a stopped API agent resume, and are its earlier actions undone?

There is no general API mechanism to resume a conversation stopped by misalignment monitoring, and stopping does not undo actions that already completed. The system runs asynchronously, so a tool call may finish before a concern is detected. Your application should preserve task state, inspect external changes and use its own compensating or rollback procedures where appropriate. Do not interpret a safety stop as proof that no side effects occurred.

Bottom line

OpenAI's expanded monitoring adds a useful detection and intervention layer for some powerful agents, but coverage varies by API pattern and automatic stopping is not universal. Developers should design for the documented 403 error, optional project alerts and human review while continuing to enforce least-privilege tools, approvals and recovery. The strongest operational takeaway is to make agent behavior observable and reversible, not to assume a monitor guarantees safety.

Explore related Make Better resources

Sources & useful resources