Evaluations
Get Agent Feedback Stats
GET
/api/evaluations/{agent_id}/feedback/statsusang[DEPRECATED] Use /feedback/summary and /feedback instead.
Parameter
Path
agent_idstringwajibUnique UUID of the target AI Agent.
Respons
200 Successful Response
likedintegerwajibdislikedintegerwajibcommentsobject[]wajibcomments[].commentstringwajibcomments[].user_namestringwajibcomments[].is_positivebooleanwajibcomments[].assistant_messagestring | nullcomments[].user_messagestring | nullcomments[].assistant_attachmentsobject[] | nullcomments[].user_attachmentsobject[] | null{
"liked": 0,
"disliked": 0,
"comments": [
{
"comment": "string",
"user_name": "string",
"is_positive": true,
"assistant_message": "string",
"user_message": "string",
"assistant_attachments": [
null
],
"user_attachments": [
null
]
}
]
} 400 Bad Request - The request parameters or headers are invalid (e.g. unsupported API-Version).
401 Unauthorized - Missing, invalid, or expired JWT Bearer token.
403 Forbidden - Insufficient role permissions or resource access denied by RBAC policy.
404 Not Found - The requested resource ID was not found.
422 Validation Error
detailobject[]detail[].locstring | integer[]wajibdetail[].msgstringwajibdetail[].typestringwajibdetail[].inputobjectdetail[].ctxobject{
"detail": [
{
"loc": [
null
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Contoh
curl -X GET "$PINTER_URL/api/evaluations/agnt_risk_compliance_01/feedback/stats" \
-H "Authorization: Bearer $ACCESS_TOKEN"