Python
Default
from portkey_ai import Portkeyportkey = Portkey(api_key="PORTKEY_API_KEY")feedback = portkey.feedback.create( trace_id="REQUEST_TRACE_ID", value=1)print(feedback)
{ "status": "<string>", "message": "<string>", "feedback_ids": [ "<string>" ] }
This endpoint allows users to submit feedback for a particular interaction or response.
Feedback successfully saved
The response is of type object.
object
Was this page helpful?