Approve and atomically promote reviewed evidence

POST/v1/servers/{serverId}/evidence-agents/reviews/{reviewTaskId}/approve

Validates provenance and the complete canonical graph, then atomically promotes the candidate and resolves its review task. The reviewer identity is derived and signed by the platform. Requires evidence:promote, an owner or admin role, and resource manage access.

How to call this endpoint

Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.

Path, query, and header parameters

These parameters control which ACP object the endpoint acts on and how the request is processed.

Path parameters
NameLocationTypeRequiredDescription
serverIdpathstringYesResource ID
reviewTaskIdpathstringYesStable evidence-review task ID
Query parameters
None.

Body schema

Content type: application/json · Required

FieldTypeRequiredDescription
rationalestringYes
candidate_patchobjectNo
candidate_patch.normalized_statementstringNo
candidate_patch.directionincrease | decrease | positive | negative | no_difference | no_association | mixed | not_applicable | unknownNo
candidate_patch.variable_assertionsobject[]No
candidate_patch.statistic_assertionsobject[]No

What the API returns

Each response code below includes the documented payload shape for the ACP API.

200Evidence was approved and promotedapplication/json
FieldTypeRequiredDescription
okbooleanYes
outcomepromoted | rejected | requires_reviewYes
review_task_idstringNo
finding_idstringNo
finding_version_idstringNo
blockersstring[]No
403The caller lacks promotion permission, role, or resource access
None.
404The evidence service or review task was not found
None.
409Runtime review authorization is not configured
None.
422The candidate did not pass canonical promotion validationapplication/json
FieldTypeRequiredDescription
okbooleanYes
outcomepromoted | rejected | requires_reviewYes
review_task_idstringNo
finding_idstringNo
finding_version_idstringNo
blockersstring[]No
502The deployed evidence service is unavailable
None.
Approve and atomically promote reviewed evidence
Loading...
Response 200
Loading...
See the ACP quickstart and SDK flow