Skip to content

feat(resend): document emails.metrics() - #116

Merged
dielduarte merged 1 commit into
mainfrom
emails-metrics
Aug 24, 2026
Merged

feat(resend): document emails.metrics()#116
dielduarte merged 1 commit into
mainfrom
emails-metrics

Conversation

@dielduarte

Copy link
Copy Markdown
Contributor

Adds a "Retrieving Metrics" section to email-management.md covering GET /emails/metrics: dimensions (period/domain/email/broadcast, email/broadcast mutually exclusive), the three ID filters and their matching exclusivity, response shape, and Node.js/Python examples. Updates SKILL.md's routing table to mention it.

Mirrors resend/resend-node#1079.

@dielduarte
dielduarte marked this pull request as ready for review August 24, 2026 19:24
Adds a "Retrieving Metrics" section to email-management.md covering
GET /emails/metrics: dimensions (period/domain/email/broadcast, with
email/broadcast mutually exclusive), the three ID filters and their
matching exclusivity, response shape, and Node.js/Python examples.
Updates SKILL.md's routing table to mention it.
});
if (error) console.error(error);

for (const row of data.data ?? []) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh no, not the data.data again :dead:

| `emailId` / `email_id` | string[] | Restrict to these email IDs (max 100). Cannot combine with `broadcast` dimension/`broadcastId` |
| `broadcastId` / `broadcast_id` | string[] | Restrict to these broadcast IDs (max 100). Cannot combine with `email` dimension/`emailId` |

### Examples

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it common to only have ts and python for the examples here? should there be some of the others?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also had this question, but yeah it seems like we are using mostly ts and python

@dielduarte
dielduarte merged commit 5bd4cc8 into main Aug 24, 2026
@dielduarte
dielduarte deleted the emails-metrics branch August 24, 2026 20:35
gabrielmfern added a commit that referenced this pull request Sep 1, 2026
Seven changes landed on 3.6.0 without a bump. Replays the convention (minor per
new endpoint coverage, patch per fix) for #114, #116, #112, #113, #115, #121,
#124, then this PR: 3.13.0.
gabrielmfern added a commit that referenced this pull request Sep 1, 2026
One minor covering this PR and the six endpoint additions that landed on 3.6.0
without a bump (#112, #113, #114, #115, #116, #124) plus the #121 fix. No version
was published in between, so there is nothing to replay.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants