Authentication
Send a token as Authorization: Bearer <token>. Read API conventions.
Endpoints
| Method | Path | Purpose | Role |
|---|---|---|---|
| GET | /api/v1/comply/frameworks | List frameworks | Any |
| GET | /api/v1/comply/frameworks/{framework_id} | Get a framework and its requirements | Any |
| GET | /api/v1/comply/frameworks/coverage | See how many requirements each framework has and how many Comply can check automatically | Any |
| POST | /api/v1/comply/assess | Assess an AI system profile against frameworks | Any |
| POST | /api/v1/comply/assess/live | Assess a profile and scan sample inputs and outputs with Guard | Any |
| POST | /api/v1/comply/assessments/compare | Compare two assessments | Any |
| GET | /api/v1/comply/reports | List assessment reports | Any |
| GET | /api/v1/comply/reports/{report_id} | Get an assessment report | Any |
| GET | /api/v1/comply/assessments/{assessment_id}/export | Export an assessment | Any |
| GET | /api/v1/comply/gaps | List the gaps of one assessment report. Send report_id. | Any |
| GET | /api/v1/comply/assessments/{assessment_id}/remediations | List completed remediation items | Any |
| POST | /api/v1/comply/assessments/{assessment_id}/remediations/{requirement_id}/complete | Mark a remediation item complete | Any |
| POST | /api/v1/comply/assessments/{assessment_id}/import-violations | Add Guard policy violations to an assessment | Any |
| GET | /api/v1/comply/guard-summary | Summary of Guard activity | Any |
| POST | /api/v1/comply/certificate | Issue a certificate for a report | admin |
| GET | /api/v1/comply/certificates | List issued certificates | Any |
| GET | /api/v1/comply/health | Health check | None |
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
| Status | Cause |
|---|---|
| 403 | Your role cannot issue certificates |
| 404 | The report or assessment does not exist |
| 422 | A framework identifier is not known, or the system name is empty |
| 502 | Guard did not answer |
| 503 | The connection to Guard is not set up |