Ship reliable, testable agents – not guesses. Better Agents adds simulations, evaluations, and standards on top of any framework. Explore Better Agents
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.text){
"status": "<string>",
"message": "<string>"
}Patch annotations programmatically to refine trace labeling and support structured AI agent evaluation workflows.
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.text){
"status": "<string>",
"message": "<string>"
}Was this page helpful?