import requests
url = "https://app.langwatch.ai/api/annotations/{id}"
payload = {
"comment": "<string>",
"isThumbsUp": True,
"email": "<string>"
}
headers = {
"X-Auth-Token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.json())