up
: Registers a positive vote (upvote) for the agent.down
: Registers a negative vote (downvote) for the agent.clear
: Removes the user’s previous vote (whether up or down).agent_id
to specify which agent the vote should be applied to.vote
value ("up"
, "down"
, or "clear"
).agent_id
, follow this guide:curl --location -g --request POST 'https:///v2/api/agent/0/vote' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"vote": "up"
}'
{
"success": true,
"message": "Successfully upvoted the agent",
"data": {
"like_count": 1,
"dislike_count": 0
}
}