Improved
Chat Threads: Split User and Admin Feedback Counts
about 5 hours ago
The chat threads list endpoint now returns separate feedback aggregates for end-user feedback and internal admin review feedback. This lets clients render clearer moderation and quality signals without inferring reviewer roles from raw feedback records.
What's New
- Added
userFeedbackScoreto each thread item for non-admin feedback counts - Added
adminFeedbackScoreto each thread item for admin feedback counts - Preserved existing
feedbackScoreas the combined aggregate across all feedback
Modified Endpoint
GET /api/v1/accounts/{accountId}/chat-threads
Response Changes
Each thread item in data.threads[] now includes:
{
"feedbackScore": { "positive": 4, "negative": 2 },
"userFeedbackScore": { "positive": 3, "negative": 1 },
"adminFeedbackScore": { "positive": 1, "negative": 1 }
}Values remain null when a thread has no feedback in that category.
Integration Notes
- Continue using
feedbackScorefor total feedback volume. - Use
userFeedbackScoreandadminFeedbackScorefor role-specific UI columns or analytics filters.