Admin API
Retrieve stats
Email counts by status for every project, for today, the last 7 days and the last 30 days.
GET
/v1/admin/statsAdmin keyA quick health view across projects. Emails are counted by their current status and by when they were created. For charts over time, rates and delivery times, use analytics instead (GET /v1/admin/analytics, same shape as Retrieve analytics).
Every project is listed, including disabled ones, oldest project first.
Response
dataStats[]
One entry per project.
Show stats propertiesHide stats properties
projectIdstring
The project ID.
slugstring
The project slug.
namestring
The project name.
todayRecord<string, number>
Emails created since 00:00 UTC today, by status. Statuses with no emails are left out, so a quiet project has {}.
last7dRecord<string, number>
Emails created in the last 7 × 24 hours, by status.
last30dRecord<string, number>
Emails created in the last 30 × 24 hours, by status.