Get campaign stats
get_campaign_statsHow a campaign is doing over a range of UTC days (the last 30 by default): sends, deliveries, opens, clicks, replies, bounces, complaints and unsubscribes in total, per step and per day, the rates, clicks per link, and how many people are in it and why they left. Counts land on the day each email was sent. Stats are folded about once a minute.
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": {
"campaign_id": "<campaign_id>"
},
"name": "get_campaign_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_day | No | YYYY-MM-DD, UTC. | |
| from_day | No | YYYY-MM-DD, UTC. | |
| campaign_id | Yes |