Runs

Update run score

PATCH
/v1/runs/
id
/score
curl --request PATCH \
  --url https://api.lunary.ai/v1/runs/{id}/score \
  --header 'Authorization: Bearer <api_key>' \
  --header 'Content-Type: application/json' \
  --data '{"label":"accuracy","value":0.95,"comment":"High accuracy score"}'

Accepted Keys:

label
value
comment

Parameters

NameLocated InRequiredSchema
idpathYesstring

Request Body

Responses

200

Score updated successfully

400

Invalid input

Questions? We're here to help.

Email