Sending & observability

email_get_metrics_trends

Day-by-day metric trends from the pre-aggregated daily rollup (email_daily_stats), with the most recent days recomputed live so today and late-arriving bounces are included — cheaper than scanning the message log for long ranges.

read email_get_metrics_trends

Day-by-day metric trends from the pre-aggregated daily rollup (email_daily_stats), with the most recent days recomputed live so today and late-arriving bounces are included — cheaper than scanning the message log for long ranges. Each day is a send-day cohort: an event counts on the day its message was SENT, not the day it arrived. Returns a per-day series (sent/delivered/opened/clicked/bounced/complained/unsubscribed) plus totals. Default 30 days.

Parameters

ParameterTypeRequiredDescription
daysintegerNo
projectIdstringNoTarget company (project id) — required on company-scoped tools. Call email_list_projects to enumerate companies.

On this page