Trigger a compliance check for a subcontractor
Queues a compliance run that evaluates the subcontractor against every
requirement of the given profile and returns 202 immediately. Poll the
run with Get a compliance run or wait
for the compliance.run_completed / compliance.status_changed webhooks.
Pass projectId to check the project-scoped enrollment instead of the
organization-level one. 400 (bad_request) when the subcontractor is
not enrolled in the profile (for that project). Requires scope
compliance:write.
Authentication
AuthorizationBearer
Session JWT or API key (ak_...)
Path parameters
subcontractorId
Request
This endpoint expects an object.
complianceProfileId
projectId
Check the subcontractor’s project-scoped enrollment in this profile instead of the organization-level one.
Response
Compliance check queued
data
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
