Policies

AI Gateway policies overview

Applies to
Gatewayruntime for API, AI, and MCP gateways
Hosting
Managed EdgeManaged DedicatedSelf-Hosted

The gateway's config/policies.json declares which policies apps may use, and each app picks from that menu in the order it wants. See Policy Chains for how a chain executes and how options and secrets are inherited.

To choose between related policies, see Guardrails for inspecting prompts and responses, and Routing and reliability for picking models and falling back.

Last modified on