Appearance
Feedback Stats
Aggregate feedback statistics: total count, sentiment breakdown, rating distribution, and top tags.
GET /v1/feedbacks/statsQuery Parameters
| Parameter | Type | Description |
|---|---|---|
product_id | string | Scope to one product |
Response
json
{
"data": {
"total": 38,
"sentiment": {
"positive": 30,
"negative": 5,
"neutral": 3
},
"rating": {
"4": 9,
"5": 21
},
"tags": [
{ "name": "feature-request", "color": "#22c55e", "count": 12 }
]
}
}Example
bash
curl -X GET "https://api.packedge.dev/v1/feedbacks/stats?product_id=prd_xxx" \
-H "Authorization: Bearer pk_your_api_key"