is_upvote values yourself. Ratings are a separate system from votes (/api/v2/agents/{agent_id}/votes), so like and dislike counts from votes can differ. You need access to the agent.curl --location --globoff 'https:///api/v2/agents//ratings' \
--header 'Organization-Id;' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer '{
"success": true,
"message": "Agent Rating fetched successfully",
"data": {
"agent_ratings": [
{
"id": 905,
"parent": null,
"user": 42,
"agent": 7,
"is_upvote": true,
"created_by": "[email protected]",
"modified_by": "[email protected]",
"created_on": "2026-09-14T10:25:03.201877Z",
"modified_on": "2026-09-14T10:25:03.201877Z"
},
{
"id": 906,
"parent": null,
"user": 58,
"agent": 7,
"is_upvote": false,
"created_by": "[email protected]",
"modified_by": "[email protected]",
"created_on": "2026-09-15T08:11:40.530214Z",
"modified_on": "2026-09-15T08:11:40.530214Z"
}
]
}
}