get_transactional_stats
Retrieve all-time or time-windowed aggregate sends, deliveries, bounces, opens, clicks, and rates for a saved transactional email by ID or slug.
Instructions
Get aggregate sends, deliveries, bounces, opens, clicks, and rates for one saved transactional email selected by ID or slug. Results are all-time by default; pass period or start/end for a window. For direct-content Send API messages, use get_stats with emailType transactional and list_email_sends/get_email_send for delivery-level detail.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"idOrSlug": "<idOrSlug>"
},
"name": "get_transactional_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Optional ISO 8601 custom range end. Must be provided with start; maximum range is 90 days. | |
| start | No | Optional ISO 8601 custom range start. Must be provided with end. | |
| period | No | Optional sliding window: 1h, 24h, 7d, 30d, or 90d. Ignored when start and end are provided. | |
| idOrSlug | Yes | Saved transactional email ID or API slug. | |
| companyId | No | Company ID. If not provided, uses the currently selected company. | |
| includeMachineEngagement | No | If true, include machine-classified bot/scanner opens and clicks. Defaults to false, so metrics and activity are human-only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Additional context about the result. | |
| items | No | Fallback array wrapper used only when a tool returns a bare array. | |
| stats | No | Delivery funnel for this transactional email. `opened` and `clicked` are unique counts deduplicated by email send (one recipient opening five times counts once), not total open events. Every count is attributed to the sends made inside the requested window, including engagement that arrives after the window ends, so `opened <= delivered <= sent` always holds. Rates use `rateDenominator` (`delivered`, or `sent` when no delivery events were recorded, reported as `rateDenominatorBasis`); `deliveryRate` and `bounceRate` divide by `sent`. | |
| value | No | Fallback object wrapper used only when a tool returns a non-object value. | |
| message | No | Human-readable status, confirmation, or next-step message. | |
| success | No | Whether the Sequenzy operation succeeded. | |
| warnings | No | Non-fatal cautions about content, permissions, or follow-up actions. | |
| complaints | No | The complaint count and rate for the selected transactional email record returned by Sequenzy. | |
| clickedLinks | No | List of clicked link with click count and percentage share records returned by Sequenzy. | |
| transactional | No | The transactional email record returned by Sequenzy. | |
| bounceBreakdown | No | The permanent, transient, blocked, and undetermined bounce counts plus subtype details; blocked is the part of transient the receiver refused on content, policy, or reputation grounds, and soft bounces are transient minus blocked record returned by Sequenzy. | |
| engagementBreakdown | No | The human and machine open and click counts record returned by Sequenzy. |