Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Python
Default
from portkey_ai import Portkey portkey = Portkey(api_key="PORTKEY_API_KEY") feedback = portkey.feedback.update( feedback_id="FEEDBACK_ID", value=1 ) print(feedback)
{ "status": "<string>", "message": "<string>", "feedback_ids": [ "<string>" ] }
This endpoint allows users to update existing feedback.
Feedback ID
Feedback value, an integer between -10 and 10.
-10 <= x <= 10
Weight of the feedback, a float between 0 and 1. Default is 1.0.
0 <= x <= 1
Additional metadata for the feedback.
Feedback successfully updated
success or failure
Confirmation message indicating successful feedback submission.
Ids of Feedbacks created returned in the same order as input
Was this page helpful?