Create a requirement
Adds one requirement to an existing profile. To set up a new profile
with all of its requirements at once, use Create a compliance profile
with requirements.
What you can create:
documentCategory: insurancewith apolicyType(required): minimum limits, policy rules and the policy’s own endorsement boxes.documentCategory: endorsement: an endorsement rule across policies.documentCategory: notice_of_cancellation: minimum days of notice.documentCategory: certificate: the profile’s Certificate checks (at most one per profile;409if it already has one).- An uploaded document read and verified by AI:
tax_form(W-9),training_cert(OSHA, First Aid, lift safety),safety_policy,workers_compensation_exemptionandagreement, withcriteria.documentType(seeVerifiedDocumentCriteria). - A report requirement: set
reportSource(for examplecobalt_sosortradesapi_license) and leave outdocumentCategory.
Licenses and background checks are stored only, not read: a
requirement with documentCategory: license or background_check
(and no reportSource) is a 400 with details[0].path: documentCategory. Licenses are checked by a license report requirement
(reportSource: tradesapi_license); background checks will run through
the background check API.
criteria is validated strictly: an unknown field, a limit that doesn’t
belong to the policy type, or a wrong value type is a 400 naming the
field (for example criteria.limits.each_ocurrence). See
RequirementCriteria for every field.
Defaults filled when you leave them out: a new general liability
requirement checks claimsBasis: occurrence, auto checks covered autos
(coveredAutos.accepted: any auto, owned + hired + non-owned, or
scheduled + hired + non-owned, plus noOwnedVehiclesException), workers comp checks
statutory; send policyRules: {} for none. An additional insured on
general liability checks ongoing and completed operations, and every
endorsement must name the certificate holder; send null to turn either off.
Subcontractors already enrolled in the profile get a record for the new
requirement and a check runs for each. Requires scope requirements:write.
Authentication
Session JWT or API key (ak_...)
Path parameters
Request
What the requirement checks. Required unless reportSource is set. license and background_check are stored only and can’t be a document requirement (400).
Required for insurance; leave out for the other categories.
Score this requirement from a business report instead of a document. documentCategory and reportDimension then default from the source.
track_only (Track only, don’t require) is stored and returned as preferred. See EnforcementLevel.
Required when enforcementLevel is conditional; see List condition keys.
Insurance: the insured on the certificate must match the subcontractor’s name. Defaults to true for an insurance requirement when left out (send false to turn it off); false for every other category.
Insurance: the certificate must list the profile’s requiredAdditionalInsuredName.
The rule a requirement checks. Its shape depends on the requirement:
insurance, endorsement, notice of cancellation, certificate checks, an
AI-verified document, or a report requirement. Unknown fields are a 400
naming the field.
false creates the requirement paused.
