Skip to main content
A
Docs

Comply API reference

Endpoints, request examples and errors for the Comply API: frameworks, assessments, gaps, remediation and certificates.

Authentication

Send a token as Authorization: Bearer <token>. Read API conventions.

Endpoints

MethodPathPurposeRole
GET/api/v1/comply/frameworksList frameworksAny
GET/api/v1/comply/frameworks/{framework_id}Get a framework and its requirementsAny
GET/api/v1/comply/frameworks/coverageSee how many requirements each framework has and how many Comply can check automaticallyAny
POST/api/v1/comply/assessAssess an AI system profile against frameworksAny
POST/api/v1/comply/assess/liveAssess a profile and scan sample inputs and outputs with GuardAny
POST/api/v1/comply/assessments/compareCompare two assessmentsAny
GET/api/v1/comply/reportsList assessment reportsAny
GET/api/v1/comply/reports/{report_id}Get an assessment reportAny
GET/api/v1/comply/assessments/{assessment_id}/exportExport an assessmentAny
GET/api/v1/comply/gapsList the gaps of one assessment report. Send report_id.Any
GET/api/v1/comply/assessments/{assessment_id}/remediationsList completed remediation itemsAny
POST/api/v1/comply/assessments/{assessment_id}/remediations/{requirement_id}/completeMark a remediation item completeAny
POST/api/v1/comply/assessments/{assessment_id}/import-violationsAdd Guard policy violations to an assessmentAny
GET/api/v1/comply/guard-summarySummary of Guard activityAny
POST/api/v1/comply/certificateIssue a certificate for a reportadmin
GET/api/v1/comply/certificatesList issued certificatesAny
GET/api/v1/comply/healthHealth checkNone

Assess a system

Send the system profile in the body and the frameworks as framework_ids query parameters.

curl "https://comply.example.gov/api/v1/comply/assess?framework_ids=uae-ai-ethics&framework_ids=saudi-sdaia" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Licensing assistant",
    "description": "Answers questions about licence renewals",
    "risk_level": "high",
    "deployment_region": "UAE",
    "system_purpose": "Help applicants find the right documents",
    "bias_testing_conducted": true,
    "human_override_available": true,
    "responsible_officer_appointed": true
  }'

The profile has many optional fields about transparency, fairness, oversight, privacy and safety. Leave out a field that does not apply. A field you leave out counts as not met.

Framework identifiers: uae-ai-ethics, saudi-sdaia, qatar-ai-ethics, oman-ai-digital, eu-ai-act.

Issue a certificate

Send POST /api/v1/comply/certificate?report_id=... with a JSON body. The body has system_name, organization and framework_ids. You need the admin role. The report must exist.

Errors

StatusCause
403Your role cannot issue certificates
404The report or assessment does not exist
422A framework identifier is not known, or the system name is empty
502Guard did not answer
503The connection to Guard is not set up