AI Gateway · Example Payload

Ai Gateway Policy Pii Example

AI GatewayLLM RouterLLM ProxyModel RoutingPrompt FirewallGuardrailsAI ObservabilityCost ControlsAI GovernanceAPI Gateway

Ai Gateway Policy Pii Example is an example object payload from AI Gateway, with 7 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

policyIdnamekindstagescopeguardrailenabled

Example Payload

ai-gateway-policy-pii-example.json Raw ↑
{
  "policyId": "pii-redaction-default",
  "name": "PII Redaction",
  "kind": "guardrail",
  "stage": "both",
  "scope": "tenant",
  "guardrail": {
    "type": "pii",
    "categories": ["ssn", "email", "phone", "credit-card", "passport", "medical-id"],
    "action": "redact",
    "engine": "presidio"
  },
  "enabled": true
}