AI Gateway Guardrail Webhook API
The webhook contract for the Guardrail feature in kgateway, Agentgateway Enterprise, and Gloo Gateway. Two endpoints — /request and /response — intercept prompts on the way to a large language model and responses on the way back, and return a Pass, Mask, or Reject action so operators can implement their own content filtering and guardrails across LLM providers.