Get Global Email Statistics
get_global_statsRetrieve global email statistics for your SendGrid account within a date range, with optional grouping by day, week, or month to analyze delivery performance.
Instructions
Retrieve global email statistics for your SendGrid account
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": {
"start_date": "<start_date>"
},
"name": "get_global_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | End date in YYYY-MM-DD format (defaults to today) | |
| start_date | Yes | Start date in YYYY-MM-DD format | |
| aggregated_by | No | How to group the statistics | day |