Skip to main content
The RAIL Score API helps you ensure your AI-generated content meets the highest standards of fairness, safety, reliability, and more. Integrate in minutes with our REST API or official Python and JavaScript SDKs.

Quick Start

Make your first RAIL evaluation call in under 5 minutes.

Authentication

Get your API key and start making authenticated requests.

API Reference

Full reference for all RAIL Score API endpoints.

Python SDK

Official Python client with sync/async support and provider integrations.

JavaScript SDK

TypeScript-first SDK with LLM provider wrappers and full type coverage.

RAIL Framework

Understand the 8 dimensions used to score responsible AI content.

How it works

1

Get an API key

Create a free account at responsibleailabs.ai and generate an API key from your dashboard.
2

Install an SDK

Install the Python or JavaScript SDK — or call the REST API directly from any language or tool.
3

Evaluate content

Pass your AI-generated text to the /eval endpoint and receive scores across all 8 RAIL dimensions.
4

Act on results

Use scores to gate content, trigger regeneration, check regulatory compliance, or monitor quality over time.

What you can do

Evaluate AI Output

Score any AI-generated text across fairness, safety, reliability, transparency, privacy, accountability, inclusivity, and user impact.

Safe Regeneration

Automatically improve content through iterative evaluation until it meets your quality thresholds.

Compliance Checks

Check AI content against GDPR, HIPAA, EU AI Act, CCPA, and India DPDP in a single API call.

Agent Evaluation

Evaluate agentic AI tool calls before and after execution with risk assessment and prompt injection detection.