{"command":{"effect":"read","timeoutSeconds":30,"inputSchema":{"type":"object","description":"**This endpoint allows you to retrieve the total sums of each email statistic metric for all subusers over the given date range.**","properties":{"query":{"type":"object","properties":{"sort_by_direction":{"allOf":[{"$ref":"#/definitions/SortByDirection2"},{"type":"string","default":"desc"}],"description":"The direction you want to sort. "},"start_date":{"type":"string","description":"The starting date of the statistics to retrieve. Must follow format YYYY-MM-DD."},"end_date":{"type":"string","description":"The end date of the statistics to retrieve. Defaults to today. Must follow format YYYY-MM-DD."},"limit":{"type":"integer","default":5,"description":"Limits the number of results returned per page."},"offset":{"type":"integer","default":0,"description":"The point in the list to begin retrieving results from."},"aggregated_by":{"type":"string","description":"How to group the statistics. Defaults to today. Must follow format YYYY-MM-DD."},"sort_by_metric":{"type":"string","default":"delivered","description":"The metric that you want to sort by.  Must be a single metric."}},"required":["start_date"],"additionalProperties":false}},"required":["query"],"additionalProperties":false,"definitions":{"SortByDirection2":{"type":"string","enum":["desc","asc"]}}},"name":"Retrieve the totals for each email statistic metric for all subusers.","id":"sendgrid.subusers.liststatsum","example":{"query":{"start_date":"example"}},"maxRequests":1,"summary":false}}