---
title: "Get Email Stats"
full: true
_openapi:
  method: GET
  toc: []
  structuredData:
    headings: []
    contents:
      - content: "Returns aggregated email statistics for charts."
_apiData:
  document: "https://reloop.sh/api/logs/openapi/json"
  operationData: [{"path":"/api/logs/v1/emails/stats","method":"get"}]
  parameterList: [{"name":"organization_id","type":"string","required":false,"description":"","location":"query"},{"name":"domain_id","type":"string","required":false,"description":"","location":"query"},{"name":"start_date","type":"string","required":false,"description":"","location":"query"},{"name":"end_date","type":"string","required":false,"description":"","location":"query"},{"name":"interval","type":"\"day\" | \"hour\"","required":false,"description":"","location":"query","enumValues":["day","hour"]}]
  responseMap: {"200":{"description":"Response for status 200","schema":{"dates":["example_dates"],"sent":[0],"delivered":[0],"bounced":[0],"complaint":[0],"rate":[0],"bounceBreakdown":{"transient":[0],"permanent":[0],"undetermined":[0]}}},"401":{"description":"Response for status 401","schema":{"message":"Unauthorized access"}},"403":{"description":"Response for status 403","schema":{"message":"Access forbidden"}},"500":{"description":"Response for status 500","schema":{"message":"Internal server error"}}}
  codeSamples: []
---
> For the complete documentation index, see [llms-docs.txt](/llms-docs.txt) or the site index [llms.txt](/llms.txt). Full docs corpus: [llms-full-docs.txt](/llms-full-docs.txt). Prefer markdown URLs (append `.md`) for agent consumption. Product skill: [skill.md](/skill.md).


{/* This file was generated by the OpenAPI doc generator. Do not edit this file directly. Run `bun run generate:api-docs` to regenerate. */}

<APIPage />
