Calculate usage metrics for an item.
GET https://api.jsonpad.io/lists/{listId}/items/{itemId}/statscurl https://api.jsonpad.io/lists/b44f160c-b2b6-490a-83b2-8c1bdd2b1fa7/items/a232b15e-7f13-4e4d-aed0-6f26c074e95f/stats \
-H "Content-Type: application/json" \
-H "x-api-token: <YOUR TOKEN>"listIdstringA list id or path name.itemIdstringAn item id or alias.daysnumberhttps://api.jsonpad.io/lists/2e64c8d1-8524-4126-bd20-d03e61a1cd17/items/89d278c5-609e-4aec-988a-7d8ac4b51e63/stats?days=7The number of days to collect stats for. The default value is 7 and the maximum is 90.x-api-tokenstringYour API token.No request body
{events: {total: 4totalThisPeriod: 4metrics: [0: {date: "2026-09-03T11:30:00.158Z"count: 3types: {item-created: 2item-updated: 1}}1: {date: "2026-09-04T11:30:00.158Z"count: 1types: {item-updated: 1}}2: {date: "2026-09-05T11:30:00.158Z"count: 0types: {}}]}}eventsobjectEvent metrics for this item.totalnumberThe total number of events for this item.totalThisPeriodnumberThe total number of events for this item during the requested period.metricsarrayA list of metrics objects for each day in the requested period.metrics[].datestringThe date of this metrics entry in ISO 8601 format.metrics[].countnumberThe total number of events on this date.metrics[].typesobjectThe total number of events on this date, broken down by type.
No response headers
2024-10-29