---
title: "Update evaluation result with human feedback"
method: PUT
path: "/vote_eval_pair/{id}"
---

# Update evaluation result with human feedback

`PUT /vote_eval_pair/{id}`

## Path parameters

- `id` string, required

## Request body

- object
  - `pair_id` string, required — ID of the pair to provide feedback on
  - `metric_idx` integer, required — Index of the metric in the Metrics.Definitions array
  - `vote` -1 | 0 | 1, required — Vote for the pair (-1 = negative, 0 = neutral, 1 = positive)
  - `comment` string — Optional comment providing feedback on the pair

## Response `200`

Evaluation result successfully updated with human feedback

- object
  - `success` boolean
  - `results_id` string
  - `pair_id` string

## Other responses

- `400` — Bad request - invalid input
- `500` — Internal server error

## Changes

- **2025-06-19** `c0684c37535d` — 1 info
  - endpoint added
- **2025-04-30** `9a3d86c43d3d` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/getplumai/apis/plum-api/changes/vote_eval_pair/:id/put.md)

---

[API](https://skmtc.dev/getplumai/apis/plum-api.md) · [All operations](https://skmtc.dev/getplumai/apis/plum-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getplumai/plum-api/revisions/f332cf4d71d4/schema)
