PUT
/
feedback
/
{id}
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>"
  ]
}

Authorizations

x-portkey-api-key
string
header
required

Path Parameters

id
string
required

Feedback ID

Body

application/json

Response

200 - application/json

Feedback successfully updated

The response is of type object.