---
title: "Score a highlight"
method: POST
path: "/evaluate/highlight/{highlight_id}"
tags: ["Evaluation"]
---

# Score a highlight

`POST /evaluate/highlight/{highlight_id}`

Score an individual highlight.

## Path parameters

- `highlight_id` string, required

## Request body

- HighlightFeedbackRequest
  - `score` number — Rating of the chunk from -1 (bad) to +1 (good).
  - `comment` string, nullable — Comment on the chunk

## Response `200`

Successful Response

- FeedbackResponse
  - `success` boolean, required — Whether the feedback was successfully saved.
  - `message` string, required — A message describing the result.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/hyperspell/apis/hyperspell-api.md) · [All operations](https://skmtc.net/hyperspell/apis/hyperspell-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hyperspell/hyperspell-api/revisions/5721acd588e6/schema)
