Check
The Check endpoints verify whether your project documents satisfy specific requirements. Two approaches: quick single-requirement verification, or structured multi-requirement audit runs.
POST /api/v2/check/verify
Verify a single compliance requirement. Synchronous — returns a verdict immediately. Can take up to 5 minutes for complex requirements.
Authentication: Bearer token required
Request body:
Example request:
Example response 200 OK:
Response fields:
Verdict values:
POST /api/v2/check/runs
Create a compliance check run. Define a set of requirements to check as a batch. Does not start processing — call the trigger endpoint when ready.
Authentication: Bearer token required
Request body:
Example request:
Example response 201 Created:
POST /api/v2/check/runs/{id}/trigger
Start processing a check run. The system works through each requirement, checking it against project documents.
Authentication: Bearer token required
Path parameters:
Request body:
Example request:
Example response 200 OK:
Error responses:
GET /api/v2/check/runs
List all compliance check runs. Supports pagination.
Authentication: Bearer token required
Query parameters:
GET /api/v2/check/runs/{id}
Get a check run with full results, including all requirements and their verdicts.
Authentication: Bearer token required
Path parameters:
Example response 200 OK:
Run status values:
GET /api/v2/check/runs/{id}/requirements
Get the individual requirement-level results from a run. Each requirement includes its verdict, sub-requirements, and evidence.
Authentication: Bearer token required
Path parameters:
Example response 200 OK:
Requirement fields: