get_global_stats
Retrieve global email statistics for your SendGrid account by specifying date ranges and aggregation periods to analyze email campaign performance.
Instructions
Retrieve global email statistics for your SendGrid account
Input Schema
Name | Required | Description | Default |
---|---|---|---|
aggregated_by | No | How to group the statistics | day |
end_date | No | End date in YYYY-MM-DD format (defaults to today) | |
start_date | Yes | Start date in YYYY-MM-DD format |
Input Schema (JSON Schema)
{
"properties": {
"aggregated_by": {
"default": "day",
"description": "How to group the statistics",
"enum": [
"day",
"week",
"month"
],
"type": "string"
},
"end_date": {
"description": "End date in YYYY-MM-DD format (defaults to today)",
"type": "string"
},
"start_date": {
"description": "Start date in YYYY-MM-DD format",
"type": "string"
}
},
"required": [
"start_date"
],
"type": "object"
}