Operating system set to macOS
Documentation jurisdiction set to United States
Sign inConnect Claude

Invoke Skill Compliance Review

post/api/v1/skills/compliance.review/invoke

Review a document for regulatory compliance gaps.

Reviews an uploaded document against an accounting or regulatory framework and reports where it falls short. Supply the document_id and the framework, such as FRS 102 or IFRS, and optionally the topics to concentrate on. It returns a status, findings with severity and a recommendation each, an overall risk level and the share of the document covered.

Request bodyapplication/json

FieldTypeDescription
document_idrequiredstring (uuid)UUID of the uploaded document to review.
frameworkrequiredstringName of the framework to review against, such as 'FRS 102', 'IFRS' or 'US GAAP'.
scopestring[]Optional list of topic names as plain text to concentrate on; an empty list reviews the whole document.

Responses

200Skill executed successfully
FieldTypeDescription
skillrequiredstringβ€”
outputrequiredobjectβ€”
show nested
FieldTypeDescription
stub_fieldsstring[]β€”
warningsstring[]β€”
statusstringβ€”
findingsany[]β€”
risk_levelstringβ€”
recommendationsstring[]β€”
coverage_pctnumberβ€”
correlation_idrequiredstringβ€”
401Authentication required
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
403Insufficient permissions
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
404Skill not found
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
429Rate limit exceeded
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
5XXInternal server error
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
curl https://api.dev.arch.ie/api/v1/skills/compliance.review/invoke \
  -X POST \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{
       "document_id": "00000000-0000-0000-0000-000000000000",
       "framework": "string",
       "scope": [
         "string"
       ]
     }'