Update Feedback

Updates existing feedback

This endpoint allows users to update existing feedback.

PUThttps://api.portkey.ai/v1/feedback/{id}
Path parameters
id*string (uuid)

Feedback ID

Body
value*integer

Feedback value, an integer between -10 and 10.

weightnumber (float)

Weight of the feedback, a float between 0 and 1. Default is 1.0.

metadataobject

Additional metadata for the feedback.

Response

Feedback successfully updated

Body
statusstring

success or failure

messagestring

Confirmation message indicating successful feedback submission.

feedback_idsarray of string

Ids of Feedbacks created returned in the same order as input

Response
{
  "status": "text",
  "message": "text",
  "feedback_ids": [
    "text"
  ]
}

Last updated