For AI agents: the complete documentation index is available at https://docs.flezise.com/llms.txt, the full documentation bundle is available at https://docs.flezise.com/llms-full.txt, and this page is available as Markdown at https://docs.flezise.com/administration/guardrails.md.

Guardrails

Guardrails applies validation rules and external provider checks to every request that passes through the AI Gateway. Rules run before prompts reach a model; a failing rule blocks the request.

::::note Read this if you administer the platform AI Gateway. This tab is plan-gated: if it appears locked in the nav, your plan does not include guardrails. ::::

Guardrails page with a Rules section listing configured rules and a New Rule button, and an External Providers section below with an Add Provider button

Add a guardrail rule

Open SettingsGuardrails ("Protect your AI gateway from PII leaks, prompt injections, secrets exposure, and other threats.").

The Rules section shows how many rules are currently configured. Press New Rule to add one. When no rules exist, the section shows "No guardrail rules" with a Create Rule prompt.

::::warning Deleting a rule is permanent. The confirmation reads: "This rule will be permanently removed. Requests will no longer be checked against it." Review active rules before removing any. ::::

Connect an external provider

The External Providers section connects third-party guardrail services via Generic HTTP API. Press Add Provider to configure one.

Deleting an external provider opens a separate Delete External Provider confirmation dialog.

Next steps