Skip to main content
Every request passes through the policy set defined on its endpoint or proxy. Depending on whether it is a prompt going to the model or a response coming back, the policy runs the relevant controls — such as prompt injection, toxic content, PII/PHI and malicious code.

Three check stages

Queries through the AI Proxy are evaluated in three categories: Input Check, Output Check and Prompt Check. You choose the controls for each in the endpoint settings — see Proxies & Endpoints.

Sensitivity threshold

BeyondGuard’s security models produce a confidence value for each query. Comparing it with the Sensitivity Threshold classifies the query as SAFE or UNSAFE. For example, a query with a confidence value of 0.6 and a threshold of 0.7 is classified as SAFE and passes through. There are recommended best-practice values, but set the threshold to suit your organization’s usage habits, risk appetite and internal security policies. Endpoint-level thresholds and the Visual Policy Builder let you calibrate against live traffic and enforce selectively.

Observe before you enforce

Then roll out in stages: high-confidence controls first, then the full set. Each module can be set to fail open or fail closed.

Policies for different teams

With Multi-Policy, each policy has a Policy Type (for example Prompt Guard or Agent Guard) and an Organization, and every change is versioned. On an endpoint, you assign a public (default) policy plus group-based policies, evaluated in priority order. See Policies & Multi-Policy.

Error messages

You can define the text shown in the error response when a rule is violated. It takes effect when Include Details is enabled for the endpoint.