Evaluation

Score a query result

Score the result of a query.

post/evaluate/query/{query_id}

Request

  • Base URL
    https://api.hyperspell.com
  • URL
    https://api.hyperspell.com/evaluate/query/{query_id}
  • Auth
    HTTP bearer

Path parameters

query_idstring required

Headers

X-As-Userstring nullable

Optionally set this header to act as a specific user when using an API Key, equivalent to first exchanging the API Key for a User Token

Request body

scorenumber

Rating of the query result from -1 (bad) to +1 (good).

commentstring nullable

What was right or wrong with the result.

Response

Successful Response

successboolean required

Whether the feedback was successfully saved.

messagestring required

A message describing the result.

Changes

No operation changes recorded.