- Create an API key on the collector.
- In Portkey, add a Guardrail Webhook check aimed at the evaluate URL.
- Attach it under
input_guardrails/output_guardrailswithdeny: true. - Map Portkey user / trace metadata to
consumer_idandsession_id.
Gateway
Portkey
TrustGuard via Portkey Bring-Your-Own-Guardrails webhook.
Portkey calls TrustGuard through a Bring-Your-Own-Guardrails webhook on requests and
responses.