action sendgrid_get_clients_stats { label: "Retrieve email statistics by client type." description: "**This endpoint allows you to retrieve your email statistics segmented by client type.**\n\n**We only store up to 7 days of email activity in our database.** By default, 500 items will be returned per request via the Advanced Stats API endpoints.\n\nAdvanced Stats provide a more in-depth view of your email statistics and the actions taken by your recipients. You can segment these statistics by geographic location, device type, client type, browser, and mailbox provider. For more information about statistics, please see our [Statistics Overview](https://sendgrid.com/docs/ui/analytics-and-reporting/stats-overview/)." provider: sendgrid method: GET path: "/clients/stats" encoding: json output: { type: "array" items: { type: "object" properties: { date: { type: "string" description: "The date that the statistics were gathered." } stats: { type: "array" description: "The list of statistics." items: { type: "object" properties: { metrics: { type: "object" description: "The individual events and their stats." properties: { opens: { type: "integer" description: "The total number of times your emails were opened by recipients." } unique_opens: { type: "integer" description: "The number of unique recipients who opened your emails." } } } name: { type: "string" description: "The name of the specific segmentation." } type: { type: "string" description: "The type of segmentation." } } } } } } } }