Skip to content

Feedback Stats

Aggregate feedback statistics: total count, sentiment breakdown, rating distribution, and top tags.

GET /v1/feedbacks/stats

Query Parameters

ParameterTypeDescription
product_idstringScope 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"