Content-Type and the provider’s authentication reach the guardrail endpoint. All other client headers stop at Prisma AIRS AI Gateway.
Configuration
AddforwardHeaders to any external check’s parameters. List the exact header names you want forwarded:
forwardHeaders is absent or omitted, nothing is forwarded. Each check configures forwarding independently.
Provider authentication headers always take precedence — forwarded headers cannot overwrite them.
If you include
traceparent in your list and the client sends x-portkey-trace-id but no traceparent, the AI Gateway synthesizes a valid W3C traceparent automatically. If the client sends a valid traceparent directly, it passes through unchanged.Restricted Headers
The AI Gateway prevents forwarding headers that carry credentials or sensitive context. The following categories are blocked and rejected at save time:- Credentials —
authorization,x-api-key,ocp-apim-subscription-key,proxy-authorization - Session —
cookie - Cloud metadata — headers used by cloud IMDS endpoints (AWS, GCP)
- Internal routing — all
x-portkey-*headers exceptx-portkey-trace-idandx-portkey-span-id - Hop-by-hop — protocol headers like
connection,host,transfer-encoding

