Ratings
Conversation ratings (1–5) and their statistics. Visitors submit ratings via the public chat endpoints; these endpoints read them. Authentication required.
GET
/api/v1/sites/{id}/ratings AuthList ratings with comments.
Response
{ "success": true, "ratings": [ { "score": 5, "comment": "Great!", "created_at": "…" } ] }GET
/api/v1/sites/{id}/ratings/stats AuthAggregated rating stats (average, distribution).
Response
{ "success": true, "stats": { "average": 4.6, "count": 120, "distribution": { "5": 90, "4": 20, "3": 6, "2": 2, "1": 2 } } }