Invoke Skill Compliance Review
post
/api/v1/skills/compliance.review/invokeReview 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
| Field | Type | Description |
|---|---|---|
document_idrequired | string (uuid) | UUID of the uploaded document to review. |
frameworkrequired | string | Name of the framework to review against, such as 'FRS 102', 'IFRS' or 'US GAAP'. |
scope | string[] | Optional list of topic names as plain text to concentrate on; an empty list reviews the whole document. |
Responses
200Skill executed successfully
| Field | Type | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
skillrequired | string | β | ||||||||||||||||||||||||
outputrequired | object | βshow nested
| ||||||||||||||||||||||||
correlation_idrequired | string | β |
401Authentication required
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
403Insufficient permissions
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
404Skill not found
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
429Rate limit exceeded
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
5XXInternal server error
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
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"
]
}'