Cloudflare AI Gateway Integration
Cloudflare AI Gateway provides caching, rate limiting, and observability for AI API calls. Forward Cloudflare AI Gateway logs to Igris for inclusion in your unified audit trail.Setup
1. Get Your Igris API Key
Create a new API key in Settings → API Keys labeled “Cloudflare Ingestion”.2. Configure Cloudflare Logpush
In the Cloudflare dashboard, set up a Logpush job for your AI Gateway:- Go to AI → AI Gateway → [your gateway] → Settings
- Under Logging, configure a custom webhook destination:
- URL:
https://your-igris.fly.dev/api/v1/ingest/cloudflare - Headers:
- URL:
3. Verify
Route an AI API call through your Cloudflare AI Gateway and check Igris Observe → Audit Events for events withsource: cloudflare.
Payload Normalization
| Cloudflare Field | Igris Field |
|---|---|
model | toolName |
statusCode | action (2xx → allow, other → deny) |
requestId | metadata.requestId |
totalTokens | metadata.totalTokens |
duration | metadata.latencyMs |
timestamp | timestamp |
provider | metadata.provider |
cached | metadata.cached |