Concept: Compliance | Python:
client.compliance_check() | See also: Compliance API overviewframework for a single-framework check, or frameworks (even a list of one) for a
multi-framework check with a cross-framework summary — the two return differently-shaped
responses, documented separately below.
Parameters
Text to evaluate. 1–50,000 characters.
A single framework ID. Mutually exclusive with
frameworks.Up to 5 framework IDs:
gdpr, ccpa, hipaa, eu_ai_act, india_dpdp, india_ai_gov.
Mutually exclusive with framework. Always returns the
multi-framework shape, even for a single-item list.Either a free-form description string, or a structured object (
domain, system_type,
jurisdiction, data_subjects, decision_type, processes_personal_data,
high_risk_indicators). A bare string is wrapped into {"description": ...} internally —
both forms reach the same evaluation.Use a stricter per-requirement pass/fail threshold.
Include per-dimension explanations and issue lists.
Request
Single-framework response
score (0–10), confidence (0–1), label ("Critical"–"Excellent"), summary.One entry per checked requirement:
requirement_id, requirement, article,
reference_url, status, score, threshold, ai_specific, and — when applicable —
regulatory_deadline, penalty_exposure.id, description, dimension, severity, requirement, article, reference_url,
remediation_effort, and — when applicable — remediation_deadline_days,
remediation_deadline_date.EU AI Act only:
tier, basis, obligations. null for other frameworks.Multi-framework response
Requestingframeworks (plural) returns a different top-level shape — no result wrapper;
instead results keyed by framework ID plus a cross_framework_summary:
results has the same shape as the single-framework result object above.
Credits
A cached result (
from_cache: true, or every framework cached in a multi-framework request)
costs 0.