The Compliance endpoint checks whether AI-generated content and its surrounding context satisfy the requirements of major regulatory frameworks. It returns a pass/fail verdict per framework, flagged clauses, and remediation guidance.Documentation Index
Fetch the complete documentation index at: https://docs.responsibleailabs.ai/llms.txt
Use this file to discover all available pages before exploring further.
API endpoint:
POST /railscore/v1/compliance/check | Python: client.compliance_check() | Credits: 5.0–10.0 per callSupported frameworks
| Code | Framework | Region |
|---|---|---|
gdpr | General Data Protection Regulation | EU |
ccpa | California Consumer Privacy Act | US (California) |
hipaa | Health Insurance Portability and Accountability Act | US |
eu_ai_act | EU Artificial Intelligence Act | EU |
india_dpdp | India Digital Personal Data Protection Act | India |
india_ai_gov | India AI Governance Guidelines | India |
Basic usage
Credit cost
| Scope | Credits |
|---|---|
| Single framework | 5.0 |
| Multi-framework (2–3) | 8.0 |
| Multi-framework (4–5) | 10.0 |
India DPDP: dedicated API
For the India DPDP framework, a full suite of 7 dedicated endpoints is available that goes beyond the general compliance check. These cover the complete DPDP lifecycle:- Scan content for Indian PII (Aadhaar, PAN, mobile, UPI, passport, and 5 more types), child signals, and purpose drift
- Evaluate actions against DPDP rules with allow/block/require_action verdicts
- Emit compliance events (consent, DSR, breach, retention) with automatic timer creation
- Require proactive guidance for what the application must do at each workflow step
- Evidence generation for audit-grade packets (DSR responses, breach notifications, annual reports)
- Session management for stateful tracking across a user journey
- Timers for monitoring DSR SLAs, breach notification deadlines, and retention windows
India DPDP API Reference
Full endpoint reference with request/response examples.
What’s next
Compliance API Overview
All compliance frameworks and dedicated endpoints.
API Reference: Compliance Check
General compliance check parameter reference.
Python SDK: Compliance
Python SDK examples.
DPDP: Content Scan
Indian PII detection and masking.