Prompt Injections, Prompt Leakage, SQL Enforcement, Data Leakage, PII Leakage, Profanity Detection, and many more!
Browse Aporia’s docs for more info on each of the Guardrail:
Quickstart - AporiaAporia
Learn more about Aporia AI and their offerings.
Using Aporia with the AI Gateway
1. Add Aporia API Key to the AI Gateway
- Navigate to the
Integrationspage underSettings - Click on the edit button for the Aporia integration and add your API key
2. Add Aporia’s Guardrail Check
- Now, navigate to the
Guardrailspage - Search for
Validate - ProjectGuardrail Check and click onAdd - Input your corresponding Aporia Project ID where you are defining the policies
- Save the check, set any actions you want on the check, and create the Guardrail!
Your Aporia Guardrail is now ready to be added to any AI Gateway request you’d like!
3. Add Guardrail ID to a Config and Make Your Request
- When you save a Guardrail, you’ll get an associated Guardrail ID - add this ID to the
before_request_hooksorafter_request_hooksparams in your AI Gateway Config - Save this Config and pass it along with any AI Gateway request you’re making!

