Description
API ReferenceEvaluations

Give Evaluation Feedback

POST
/v1/evaluation-results/{id}/evaluation-feedback
/v1/evaluation-results/{id}/evaluation-feedback

The Authorization access token

Authorization

X-API-KEY<token>

In: header

Request Body

application/jsonRequired

feedback
Required
Feedback

Value in: "positive" | "negative"

Path Parameters

id
Required
Id

curl -X POST "https://api.patronus.ai/v1/evaluation-results/0/evaluation-feedback" \
  -H "X-API-KEY: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "feedback": "positive"
  }'

Successful Response