CampaignMetrics
Aggregate campaign performance. Counts are derived on read from the per-step records.
Properties
leadsintegerTotal leads in the campaign
leads_sentintegerLeads that have received at least one email
emails_sentintegeropenedintegerrepliedintegerpositiveintegerReplies classified as positive. **Not populated yet** — no reply classifier exists, so this is always 0.
bouncedintegeropen_ratenumberreply_ratenumberpositive_reply_ratenumberAlways 0 until reply classification ships — see `positive`. Do not build on it yet.
bounce_ratenumberby_statusobjectLead counts keyed by lead status
trendobjectSends bucketed over time: `{ granularity, tz, buckets: [{ bucket, sent }] }`
Example
CampaignMetrics example
{
"leads": 0,
"leads_sent": 0,
"emails_sent": 0,
"opened": 0,
"replied": 0,
"positive": 0,
"bounced": 0,
"open_rate": 0,
"reply_rate": 0,
"positive_reply_rate": 0,
"bounce_rate": 0,
"by_status": {},
"trend": {}
}