Quick Start
Connect InferexGuard to your existing LLM app in under 2 minutes — no infrastructure changes required.
Get Your API Key
- 1Sign up at app.inferexguard.com — your 14-day free trial starts immediately.
- 2Navigate to Settings → API Keys in the dashboard.
- 3Create a new key and copy it — it won't be shown again.
Integration
Change two lines in your existing OpenAI integration. All other code stays identical.
from openai import OpenAI
# Before
client = OpenAI(api_key="sk-...")
# After — add InferexGuard
client = OpenAI(
base_url="https://gateway.inferexguard.com/v1",
api_key="ixg_your_api_key_here"
)
# All existing calls work unchanged
response = client.chat.completions.create(
model="gpt-4o",
messages=[{"role": "user", "content": "Hello"}]
)Works with Node.js, Python, Go, and any OpenAI-compatible SDK.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://gateway.inferexguard.com/v1",
apiKey: "ixg_your_api_key_here",
});Configuration
Control behaviour per-request with headers, or set defaults in your dashboard.
# Enforce data residency X-Data-Residency: EU # Set PII mode per-request (overrides dashboard default) X-PII-Mode: block # Tag requests for team-level cost attribution X-Team-ID: engineering # Specify compliance mode for audit tagging X-Compliance-Mode: hipaa
PII / DLP
PII protection is active on every request. Configure the mode in your dashboard or override per-request with X-PII-Mode.
# Test PII redaction
curl https://gateway.inferexguard.com/v1/chat/completions \
-H "Authorization: Bearer ixg_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-4o",
"messages": [{"role":"user","content":"My SSN is 123-45-6789"}]
}'
# → Prompt sent to LLM: "My SSN is [REDACTED:SSN]"
# → Original content never leaves InferexGuardData Residency
Restrict LLM routing to a specific geographic region with a single header.
curl https://gateway.inferexguard.com/v1/chat/completions \
-H "Authorization: Bearer ixg_your_api_key" \
-H "X-Data-Residency: EU" \
-d '{"model":"gpt-4o","messages":[...]}'
# Supported regions: EU, US, APAC
# Fail-closed: configure in dashboard to block if no compliant providerAudit Log
Every request is automatically audit-logged. View logs in your dashboard under Audit → Logs, or query via API.
# Query audit events via API
curl https://gateway.inferexguard.com/audit/v1/events \
-H "Authorization: Bearer ixg_your_api_key" \
-G --data-urlencode "from=2026-06-01" \
--data-urlencode "to=2026-06-30" \
--data-urlencode "team_id=engineering"
# Verify chain integrity
curl https://gateway.inferexguard.com/audit/v1/verify \
-H "Authorization: Bearer ixg_your_api_key"Analytics API
# Cost summary — last 30 days, grouped by team curl "https://analytics.inferexguard.com/v1/cost/summary?period=30d&group_by=team_id" \ -H "Authorization: Bearer ixg_your_api_key" # 90-day spend forecast curl "https://analytics.inferexguard.com/v1/cost/forecast?horizon=90d" \ -H "Authorization: Bearer ixg_your_api_key" # Chargeback report (finance-ready) curl "https://analytics.inferexguard.com/v1/reports/chargeback?period=2026-05" \ -H "Authorization: Bearer ixg_your_api_key"
Compliance Reports
# Generate SOC2 Q1 2026 report (async)
curl -X POST https://compliance.inferexguard.com/v1/reports/generate \
-H "Authorization: Bearer ixg_your_api_key" \
-H "Content-Type: application/json" \
-d '{"framework":"soc2","period":"2026-Q1"}'
# → { "report_id": "rpt_abc123", "status": "generating" }
# Poll until ready, then download
curl https://compliance.inferexguard.com/v1/reports/rpt_abc123/download \
-H "Authorization: Bearer ixg_your_api_key"Supported frameworks: soc2, hipaa, gdpr. Period formats: YYYY, YYYY-MM, YYYY-Qq.
Prompt Registry
# Create and version a prompt
curl -X POST https://prompts.inferexguard.com/v1/support-agent/versions \
-H "Authorization: Bearer ixg_your_api_key" \
-d '{
"version": "1.0.0",
"template": "Hi {{name}}, I can help with {{issue}}.",
"variables": {"name":{"type":"string","required":true}}
}'
# Deploy to production
curl -X PUT https://prompts.inferexguard.com/v1/support-agent/deploy \
-H "Authorization: Bearer ixg_your_api_key" \
-d '{"version_id":"...","environment":"production"}'