Reject an evidence extraction candidate
POST
/v1/servers/{serverId}/evidence-agents/reviews/{reviewTaskId}/rejectAtomically rejects the candidate, resolves its review task, and appends an audit event. The reviewer identity is derived and signed by the platform. Requires evidence:review, an owner, admin, or developer role, and resource edit 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 candidate was rejectedapplication/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 review permission, role, or resource access
None.
404The evidence service or review task was not found
None.
409Runtime review authorization is not configured
None.
422The review decision could not be appliedapplication/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.
Reject an evidence extraction candidate
Loading...
Response 200
Loading...