> ## 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.

# India AI Governance

> Check AI systems against India's AI governance guidelines. Covers fairness, transparency, accountability, safety, privacy, and inclusivity for AI deployed in India.

<Info>
  **Endpoint:** `POST /railscore/v1/compliance/check` | **Framework code:** `india_ai_gov` | **Credits:** 5.0 per call
</Info>

India's AI governance guidelines establish principles for responsible AI development and deployment. The compliance check evaluates AI content against these principles, covering fairness, transparency, accountability, and safety.

## Supported checks

| Area           | Principle          | What's checked                                          |
| -------------- | ------------------ | ------------------------------------------------------- |
| Fairness       | Non-discrimination | Whether outputs show bias across protected attributes   |
| Transparency   | Explainability     | Whether AI involvement and decision basis are disclosed |
| Accountability | Auditability       | Whether audit trails and responsibility chains exist    |
| Safety         | Harm prevention    | Whether safeguards against harmful outputs are in place |
| Privacy        | Data protection    | Alignment with India's data protection framework        |
| Inclusivity    | Accessibility      | Whether the system serves diverse populations equitably |
| Reliability    | Accuracy           | Whether outputs are reliable and consistent             |

## Request

```bash theme={null}
curl -X POST https://api.responsibleailabs.ai/railscore/v1/compliance/check \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_RAIL_API_KEY" \
  -d '{
    "content": "Based on the applicant profile, the system recommends denying the insurance claim.",
    "frameworks": ["india_ai_gov"],
    "context": "Insurance claim processing AI for Indian customers"
  }'
```

## Response

```json theme={null}
{
  "result": {
    "overall_compliant": false,
    "frameworks": {
      "india_ai_gov": {
        "compliant": false,
        "issues": [
          {
            "clause": "Transparency — Explainability",
            "description": "Automated denial recommendation lacks explanation of factors considered.",
            "severity": "high",
            "remediation": "Provide a clear explanation of the key factors that led to the denial recommendation, and disclose that the decision was AI-assisted."
          },
          {
            "clause": "Accountability — Grievance redressal",
            "description": "No mention of appeal or grievance mechanism for the affected individual.",
            "severity": "medium",
            "remediation": "Include a mechanism for the applicant to contest or appeal the automated recommendation."
          }
        ]
      }
    }
  },
  "credits_consumed": 5.0
}
```

## Combine with India DPDP

For comprehensive India compliance, check governance guidelines alongside DPDP:

```bash theme={null}
curl -X POST https://api.responsibleailabs.ai/railscore/v1/compliance/check \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_RAIL_API_KEY" \
  -d '{
    "content": "The system processes Aadhaar-linked records to verify identity.",
    "frameworks": ["india_ai_gov", "india_dpdp"],
    "context": "Identity verification AI for Indian financial services"
  }'
```

For deeper DPDP compliance (PII scanning, consent tracking, breach timers), use the [dedicated India DPDP endpoints](/api-reference/dpdp-scan).

<Note>
  Dedicated India AI governance endpoints for model card generation, fairness audits, and sector-specific compliance are under development.
</Note>
