Calculate usage metrics for a list.
GET https://api.jsonpad.io/lists/{listId}/statscurl https://api.jsonpad.io/lists/4c0852fd-728d-4675-a584-41ba56d7c66f/stats \
-H "Content-Type: application/json" \
-H "x-api-token: <YOUR TOKEN>"listIdstringA list id or path name.daysnumberhttps://api.jsonpad.io/lists/081e8a17-65e7-4e72-9be1-6a6f94374ae9/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
{maxItems: nullmaxIndexes: nullitems: {total: 9totalThisPeriod: 7metrics: [0: {date: "2026-09-03T11:29:45.229Z"count: 4lists: {3b41c0c7-51e5-404e-83d2-d73825321f85: 4}}1: {date: "2026-09-04T11:29:45.229Z"count: 1lists: {3b41c0c7-51e5-404e-83d2-d73825321f85: 1}}2: {date: "2026-09-05T11:29:45.229Z"count: 2lists: {3b41c0c7-51e5-404e-83d2-d73825321f85: 2}}]}indexes: {total: 3totalThisPeriod: 1metrics: [0: {date: "2026-09-03T11:29:45.229Z"count: 1lists: {3b41c0c7-51e5-404e-83d2-d73825321f85: 1}}1: {date: "2026-09-04T11:29:45.229Z"count: 0lists: {}}2: {date: "2026-09-05T11:29:45.229Z"count: 0lists: {}}]}events: {total: 4totalThisPeriod: 4metrics: [0: {date: "2026-09-03T11:29:45.229Z"count: 3types: {list-created: 2list-updated: 1}}1: {date: "2026-09-04T11:29:45.229Z"count: 1types: {list-updated: 1}}2: {date: "2026-09-05T11:29:45.229Z"count: 0types: {}}]}}maxItemsnullable numberThe maximum number of items allowed in this list, based on your current subscription limits.maxIndexesnullable numberThe maximum number of indexes allowed in this list, based on your current subscription limits.itemsobjectItem metrics for this list.totalnumberThe total number of items in this list.totalThisPeriodnumberThe total number of items created in this list 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 items created on this date.metrics[].listsobjectThe total number of items created on this date, broken down by list id.
For this endpoint, because we're requesting stats for a single list, this object will have at most one key, and the value should match metrics[].count.
indexesobjectIndex metrics for this list.totalnumberThe total number of indexes in this list.totalThisPeriodnumberThe total number of indexes created in this list 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 indexes created on this date.metrics[].listsobjectThe total number of indexes created on this date, broken down by list id.
For this endpoint, because we're requesting stats for a single list, this object will have at most one key, and the value should match metrics[].count.
eventsobjectEvent metrics for this list.totalnumberThe total number of events for this list.totalThisPeriodnumberThe total number of events for this list 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