Skip to content

Product Reports

Aggregate report for one product: license counts by status, site counts, event counts by type (last 30 days), and feedback counts by sentiment.

GET /v1/products/:id/reports

Requires a paid plan (402 on the free tier).

Path Parameters

ParameterDescription
idProduct ID

Response

json
{
  "data": {
    "licenses": {
      "active": 120,
      "expired": 14,
      "revoked": 3
    },
    "sites": {
      "active": 210,
      "deactivated": 32
    },
    "events": {
      "license.validated": 4521,
      "license.activated": 95,
      "update.checked": 1320
    },
    "feedback": {
      "positive": 18,
      "negative": 2
    }
  }
}
FieldDescription
licensesLicense counts keyed by status.
sitesActive vs deactivated site activations.
eventsEvent counts by type for the last 30 days.
feedbackFeedback counts keyed by sentiment.

Example

bash
curl -X GET "https://api.packedge.dev/v1/products/prd_xxx/reports" \
  -H "Authorization: Bearer pk_your_api_key"