- API reference
- Send events
- Return a sending health summary
https://api.us.nylas.com/v3/metrics/send/summaryReturn a sending health summary
Returns your delivery, bounce, and complaint rates for a date window, compared with the previous
window of the same length, plus an overall health grade for the last 7 days. When health is
at_risk or critical, findings points to the likely cause, such as one recipient domain
bouncing most of your mail, and gives you a filter for the events behind it.
Messages count on the day they were sent, so the rates for recent days can still change as delivery results arrive.
Query parameters
The first day of the window, as a UTC date in YYYY-MM-DD format. Defaults to six days before
end, so the default window covers 7 days. A window can cover up to 365 days.
"2026-10-01"The last day of the window, as a UTC date in YYYY-MM-DD format. Defaults to today. Today is
included as a partial day.
"2026-10-30"healthobjectAn overall grade for your sending. Health always covers the last 7 days, including today, whatever window you request.
statestringcritical when any rate is past its critical line, at_risk when any rate is past its
warning line, and healthy otherwise. insufficient_data when fewer messages than
min_assess_volume were sent.
"at_risk"min_assess_volumeintegerThe number of messages that must be sent in the last 7 days before health is graded.
100findingsarray<object>Up to 3 likely causes when the state is at_risk or critical, most serious first. Empty otherwise.
rulestringThe kind of finding. concentration means most of the problem comes from one sending domain,
sender, or recipient domain. spike means one day was much worse than usual. overall means
the problem is spread across your sending.
"concentration""high""bounce_rate"dimensionstringFor a concentration finding, what the subject is grouped by. Empty for other findings.
"recipient_domain"dimension_valuestringFor a concentration finding, the sending domain, sender, or recipient domain the problem comes from.
"example.org"share_of_excessnumberFor a concentration finding, the share of the problem that comes from this subject, as a fraction from 0 to 1.
0.781.2{"recipient_domain":"example.org","event_type":["bounced"],"bounce_class":"hard"}metricsobjectRates for the window you requested. Each rate has a status:
| Rate | ok |
warn |
crit |
|---|---|---|---|
delivery_rate |
95% or more | 90% or more | below 90% |
bounce_rate |
below 5% | below 10% | 10% or more |
complaint_rate |
below 0.1% | below 0.5% | 0.5% or more |