CrewCheck + REST API Integration
Integrate CrewCheck with REST API for DPDP-compliant AI governance. Step-by-step setup guide for api integration with PII redaction and audit trails.
Overview
Integrate CrewCheck with REST API to add DPDP-compliant AI governance to your api workflows. CrewCheck's REST API provides direct access to governance controls for any language or framework. Send requests to the gateway endpoint with your API key.
Quick setup
``` curl -X POST https://your-org.crewcheck.in/v1/proxy/openai/chat/completions \ -H 'Authorization: Bearer YOUR_CREWCHECK_KEY' ```
Once configured, all REST API traffic passes through CrewCheck's governance layer. Indian PII (Aadhaar, PAN, UPI, mobile numbers) is automatically detected and redacted. Policy packs are evaluated on every request. Every interaction is logged to the tamper-evident audit trail.
What you get
• Automatic Indian PII detection and redaction for all REST API interactions
• DPDP Act 2023 compliance controls applied at the request boundary
• Real-time cost tracking in ₹ for every REST API API call
• Tamper-evident audit trail for regulatory reporting
• Shadow Mode to test governance controls before enforcement
• Dashboard visibility into REST API-specific metrics and compliance scores
Next steps
After setting up the REST API integration, configure your policy packs in the CrewCheck dashboard. Start with Shadow Mode to observe detection rates and policy impacts, then promote to enforcement when you're confident in the configuration.
For production deployments, enable circuit breakers to automatically halt REST API traffic if PII detection rates or costs exceed your configured thresholds.