---
title: "Score a query result"
method: POST
path: "/evaluate/query/{query_id}"
tags: ["Evaluation"]
---

# Score a query result

`POST /evaluate/query/{query_id}`

Score the result of a query.

## Path parameters

- `query_id` string, required

## Request body

- FeedbackRequest
  - `score` number — Rating of the query result from -1 (bad) to +1 (good).

## 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)
