What is Oximy Gateway?
Oximy Gateway is a secure proxy that sits on top of any OpenAI-compatible SDK. It provides intelligent guardrails and unified access to 20+ AI providers while keeping your existing code unchanged. It’s a drop-in replacement — just change your base URL and add a few headers.How Gateway Works
Gateway sits between your application and AI providers, applying security policies to protect sensitive data:- Request arrives with project identifier
- Project loads its assigned policy
- Policy applies configured guardrails
- Guardrails detect and sanitize sensitive content
- Clean request is sent to AI provider
- Response is logged for audit and monitoring
Learn the Fundamentals
Guardrails
Content detection rules that identify and protect sensitive data.
Policies
Collections of guardrails that define security rules and enforcement.
Projects
API endpoints that use specific policies for content protection.
Step 1: Get Your API Key
Visit the Oximy Dashboard to get your API credentials:x-oximy-api-key: Your Oximy Gateway API keyx-oximy-project-id: Your project identifier
Step 2: Install OpenAI SDK
Step 3: Configure Your Client
Change your base URL tohttps://gateway.oximy.com/v1 and add the required headers:
Step 4: Make Your First Request
Use exactly like the OpenAI SDK:Step 5: Verify Guardrails Are Working
Check the response headers to see guardrails in action:That’s It!
You’re now using Oximy Gateway with intelligent guardrails protecting your requests. Your code works exactly the same as before, but now with:- Automatic protection against security threats
- Unified access to 20+ AI providers
- Complete request logging for audit and compliance
- Real-time monitoring via response headers
Need validation without the proxy? Gateway also offers the
/v1/validate-text endpoint for standalone validation. See the Validate Text API for details.Need Help?
Questions? Contact us at [email protected] or visit the Dashboard for more resources.