Update feedback on an answer
Updates feedback for an answer.
PATCH https://app.inconvo.ai/api/v1/conversations/answer/{answer_id}/feedback/{feedback_id}
Path Parameters
Section titled “Path Parameters”answer_id string
required
The ID of the answer to update feedback on.
feedback_id string
required
The ID of the feedback to update.
Body Parameters
Section titled “Body Parameters”rating enum
The feedback rating for the response.
Allowed values: "positive"
or "negative"
.
comment string
A comment for providing additional explanation regarding feedback.
Example
Section titled “Example”curl -X PATCH 'https://app.inconvo.ai/api/v1/conversations/answer/ans_abc123/feedback/fb_abc123' \ -H "Authorization: Bearer $INCONVO_API_KEY" \ -H 'Content-Type: application/json' \ -d $'{ "rating": "negative", "comment": "That was not quite right." }'
{ "id":"fb_abc123", "rating":"negative", "comment":"That was not quite right."}