Produktly docs
StatsSummary

Company-wide stats summary

GET
/stats/summary

Authorization

BearerAuth
AuthorizationBearer <token>

Use an API key from the Produktly dashboard → Settings → API keys.

In: header

Query Parameters

startDate?string
endDate?string

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/stats/summary"
{  "period": {    "start": "string",    "end": "string",    "days": 0,    "granularity": "string"  },  "previousPeriod": {    "start": "string",    "end": "string"  },  "features": [    {      "type": "string",      "label": "string",      "primary": {        "label": "string",        "count": 0,        "previousCount": 0,        "changePct": 0      },      "secondary": {        "label": "string",        "value": 0,        "previousValue": 0,        "changePp": 0      },      "events": {        "property1": {          "count": 0,          "uniqueUsers": 0,          "previousCount": 0,          "previousUniqueUsers": 0        },        "property2": {          "count": 0,          "uniqueUsers": 0,          "previousCount": 0,          "previousUniqueUsers": 0        }      },      "trend": [        {          "period": "string",          "count": 0        }      ]    }  ]}