StatsSummary
Company-wide 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 } ] } ]}Update a smart tip PATCH
Only the fields you send are changed. settings are merged over stored settings; targeting replaces wholesale. Live tips can be edited, but an update that would leave one unpublishable (no cssSelector or no targeting) returns 400; set active: false first to take it down.
Widget stats by entity type GET
Next Page