Set trace feedback
curl --request PUT \
--url https://api.calibrate.artpark.ai/traces/{trace_uuid}/feedback \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"is_correct": true
}
'import requests
url = "https://api.calibrate.artpark.ai/traces/{trace_uuid}/feedback"
payload = { "is_correct": True }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"feedback": {
"is_correct": true,
"at": "<string>",
"comment": "<string>"
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Traces
Set trace feedback
Set whether the agent’s output on a trace was correct, replacing any earlier feedback, or clear it
PUT
/
traces
/
{trace_uuid}
/
feedback
Set trace feedback
curl --request PUT \
--url https://api.calibrate.artpark.ai/traces/{trace_uuid}/feedback \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"is_correct": true
}
'import requests
url = "https://api.calibrate.artpark.ai/traces/{trace_uuid}/feedback"
payload = { "is_correct": True }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"feedback": {
"is_correct": true,
"at": "<string>",
"comment": "<string>"
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Path Parameters
Body
application/json