Analytics
flow_get_analyticsSending analytics for a period of up to a year: quality (sent, delivered, seen, spend, daily series), channel_mix (per channel, with spend), templates (the top 5 templates by volume, with spend), opt_out, clicks (null when link tracking is off) or campaigns (per campaign, paged). Optionally narrowed to a sender, campaign or template. The campaigns report counts messages; the other reports count SMS as billed, each part once, so their totals run higher for long SMS. Every report counts each fallback hop. spend is in EUR. opt_out counts opt-outs through a campaign's opt-out link only, not every number added to the blocklist (nor one opted out through the link of a test send or an API message, which carries no campaign), and its delivered covers marketing campaigns, so it differs from quality. campaigns lists the campaigns scheduled, still sending, cancelled or with traffic in the period; seen is null where nothing was delivered on a channel with read receipts, and recipients is null when the row covers only part of the campaign (a sender or template filter, or a campaign that began before the period). quality's series has one row per UTC day of the period, zeros on a day with no traffic. In templates, clicked is null for a template with no tracked links and 0 when its links were not clicked. opt_out's and clicks' rate is a percentage (0.7 means 0.7%).
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": {
"report": "<report>",
"from": "<from>",
"to": "<to>"
},
"name": "flow_get_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ISO date (to the end of that day in UTC) or date-time | |
| from | Yes | ISO date (2026-11-01, from the start of that day in UTC) or date-time (2026-11-01T00:00:00+01:00) | |
| page | No | campaigns report only | |
| report | Yes | ||
| pageSize | No | campaigns report only | |
| senderId | No | ||
| campaignId | No | ||
| templateId | No |