Get Stats
get_statsFetch email sending statistics (delivered, opens, clicks, bounces, etc.) for a date range. Example: get_stats({ start_date: "2024-01-01", end_date: "2024-01-31", _apiKey: "SG.xxx" })
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _apiKey | Yes | SendGrid API key (SG.xxx) | |
| end_date | No | Optional end date in YYYY-MM-DD format. Defaults to today. | |
| start_date | Yes | Start date in YYYY-MM-DD format, e.g. "2024-01-01" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||