agent_id
as a path parameter to specify the agent being reviewed.user_review
field in the request body which contains the textual content of the review.agent_id
, refer to this guide:curl --location -g --request POST 'https:///v2/api/agent/0/review' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"user_review": "I am test review"
}'
{
"success": true,
"message": "Agent Review created successfully",
"data": {
"id": 1,
"created_by": "user@example.com",
"created_on": "2025-01-15T14:04:33.462745Z",
"modified_by": "",
"modified_on": "2025-01-15T14:04:33.462779Z",
"user_review": "I am test review",
"user": 160,
"agent": 1251
}
}