Approve and atomically promote reviewed evidence
POST
/v1/servers/{serverId}/evidence-agents/reviews/{reviewTaskId}/approveValidates 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
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| serverId | path | string | Yes | Resource ID |
| reviewTaskId | path | string | Yes | Stable evidence-review task ID |
Query parameters
None.
Body schema
Content type: application/json · Required
| Field | Type | Required | Description |
|---|---|---|---|
| rationale | string | Yes | — |
| candidate_patch | object | No | — |
| candidate_patch.normalized_statement | string | No | — |
| candidate_patch.direction | increase | decrease | positive | negative | no_difference | no_association | mixed | not_applicable | unknown | No | — |
| candidate_patch.variable_assertions | object[] | No | — |
| candidate_patch.statistic_assertions | object[] | No | — |
What the API returns
Each response code below includes the documented payload shape for the ACP API.
200Evidence was approved and promotedapplication/json
| Field | Type | Required | Description |
|---|---|---|---|
| ok | boolean | Yes | — |
| outcome | promoted | rejected | requires_review | Yes | — |
| review_task_id | string | No | — |
| finding_id | string | No | — |
| finding_version_id | string | No | — |
| blockers | string[] | 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
| Field | Type | Required | Description |
|---|---|---|---|
| ok | boolean | Yes | — |
| outcome | promoted | rejected | requires_review | Yes | — |
| review_task_id | string | No | — |
| finding_id | string | No | — |
| finding_version_id | string | No | — |
| blockers | string[] | No | — |
502The deployed evidence service is unavailable
None.
Approve and atomically promote reviewed evidence
Loading...
Response 200
Loading...