Blocked requests

See the calls of your own AI agents that the hosted egress gateway refused, filter them, follow them live, and read them from the API or MCP.

On this page

Every call of one of your agents that the hosted gateway refuses is recorded as a blocked request: the time, the agent, the target, the method, path and status, the caller's IP and the detection ids. The request body is never recorded. Blocked requests are kept for 30 days, and reading them needs AI egress to be enabled for the organization.

Block codes

CodeDashboard labelWhy
injection_detectedPrompt injectionThe request carried instructions that try to override the model's instructions (Block prompt injection on)
data_leak_blockedData leakThe request carried a secret or a card number (Block data leaks on)
ssrf_blockedSSRFThe target resolved to an internal or private address
egress_blockedTarget not allowedThe agent called a target it is not allowed to use
body_too_largeBody too largeThe body was over the gateway's limits (8 MiB, or 1 MiB of text to inspect)

Calls with an unknown or wrong token (401) are not recorded: they cannot be tied to an organization. The reference lists every answer of the gateway.

Read them

Open AI egress → Blocked requests. The table shows the requests of the last 7 days, newest first, with filters by Code and Target and a free-text search over path, agent, IP and detection. Live streams new blocks as the gateway reports them.

What to do about a block

  • egress_blocked: allow the target in the agent's targets, if the agent should call it.
  • injection_detected and data_leak_blocked: read the detection ids. If the text came from a document or a web page the agent read, the gateway did its job. For an agent that must process such text, turn that protection off for that agent only.
  • ssrf_blocked: a custom target whose name resolves to a private address cannot be used; point it at a public name.
  • body_too_large: send large files by URL or through the provider's file API, or split the request.

Last updated:

↑↓ to navigate↵ to openesc to close