{"command":{"effect":"read","timeoutSeconds":30,"inputSchema":{"type":"object","description":"**This endpoint allows you to retrive the monthly email statistics for a specific subuser.**\n\nWhen using the `sort_by_metric` to sort your stats by a specific metric, you can not sort by the following metrics:\n`bounce_drops`, `deferred`, `invalid_emails`, `processed`, `spam_report_drops`, `spam_reports`, or `unsubscribe_drops`.\n","properties":{"path":{"type":"object","properties":{"subuser_name":{"type":"string","description":"The username of the Subuser."}},"required":["subuser_name"],"additionalProperties":false},"query":{"type":"object","properties":{"date":{"type":"string","description":"The date of the month to retrieve statistics for. Must be formatted YYYY-MM-DD"},"sort_by_metric":{"type":"string","default":"delivered","description":"The metric that you want to sort by. Metrics that you can sort by are: `blocks`, `bounces`, `clicks`, `delivered`, `opens`, `requests`, `unique_clicks`, `unique_opens`, and `unsubscribes`.'"},"sort_by_direction":{"allOf":[{"$ref":"#/definitions/SortByDirection"},{"type":"string","default":"desc"}],"description":"The direction you want to sort."},"limit":{"type":"integer","default":5,"description":"Optional field to limit the number of results returned."},"offset":{"type":"integer","default":0,"description":"Optional beginning point in the list to retrieve from."}},"required":["date"],"additionalProperties":false}},"required":["path","query"],"additionalProperties":false,"definitions":{"SortByDirection":{"type":"string","enum":["desc","asc"]}}},"name":"Retrieve the monthly email statistics for a single subuser","id":"sendgrid.subusers.listsubusermonthlystat","example":{"path":{"subuser_name":"example"},"query":{"date":"example"}},"maxRequests":1,"summary":false}}