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.
Overview: Compliance API | Credits: 0.3 per call
Parameters
The action to evaluate. Options:
process_data, make_decision, share_data, transfer_cross_border, serve_ad, track_user.Links to a compliance session for stateful context.
Pseudonymized user identifier.
Processing purpose (e.g.,
"credit_scoring", "marketing").Data types involved (e.g.,
["pan", "aadhaar", "income"]). Triggers enhanced safeguard checks when sensitive types are present.If known, triggers S.9 child protection rules for users under 18.
Indian state/UT code (e.g.,
"IN-KA").For cross-border transfer checks. Country code of the data recipient (e.g.,
"us", "cn").Links to a previously emitted consent event.
Rule evaluation order
Rules are evaluated in strict order. The first matching block rule stops evaluation.Block rules (hard stops)
| Rule | Section | Penalty | Trigger |
|---|---|---|---|
| No tracking/ads for children | S.9(3) | 200 crore | user_age < 18 AND action is serve_ad or track_user |
| No profiling of minors | S.9(3) | 200 crore | user_age < 18 AND action is make_decision with profiling purpose |
| Cross-border restriction | S.16 | 250 crore | transfer_cross_border to restricted jurisdiction |
cn, pk, kp, ir, iq, af, mm, by, ru, sy
Profiling purposes (blocked for minors): credit_scoring, behavioral_analysis, profiling, risk_scoring, predictive_analytics, personality_assessment
Require-action rules (soft stops)
| Rule | Section | Trigger |
|---|---|---|
| Consent required | S.6 | No active consent for the stated purpose |
| Notice required | S.5 | Notice not yet shown in session |
| Parental consent required | S.9 | Child session without parental consent |
Allow with conditions
| Condition | Section | Trigger |
|---|---|---|
| Accuracy check | S.8(3) | Action is make_decision |
| Security safeguards | S.8(5) | Data categories include sensitive types |
| Processor contract | S.8(2) | Action is share_data |
aadhaar, pan, medical, biometric, genetic, financial, health, sexual_orientation, political_opinion, religious_belief, caste, transgender_status
Request
Response: allow
Response: block
Response: require_action
"allow", "block", or "require_action". Block verdicts must not be overridden. Require-action verdicts indicate prerequisites that must be fulfilled before proceeding.Hard violations that triggered a block. Each entry includes
rule, section, severity, penalty_crore, description, and remediation.Conditions attached to an allow verdict. These are advisory but strongly recommended.
Actions that must be completed before proceeding. Each has a
type and reason.Current compliance state of the session: consent validity, notice status, child flag, and open timers.