feat(resend): document emails.metrics() - #116
Merged
Merged
Conversation
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.
dielduarte
force-pushed
the
emails-metrics
branch
from
August 24, 2026 19:28
62d918d to
5cd30d5
Compare
| }); | ||
| if (error) console.error(error); | ||
|
|
||
| for (const row of data.data ?? []) { |
Member
There was a problem hiding this comment.
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 |
Member
There was a problem hiding this comment.
is it common to only have ts and python for the examples here? should there be some of the others?
Contributor
Author
There was a problem hiding this comment.
I also had this question, but yeah it seems like we are using mostly ts and python
gabrielmfern
approved these changes
Aug 24, 2026
felipefreitag
approved these changes
Aug 24, 2026
gabrielmfern
added a commit
that referenced
this pull request
Sep 1, 2026
gabrielmfern
added a commit
that referenced
this pull request
Sep 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a "Retrieving Metrics" section to
email-management.mdcoveringGET /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. UpdatesSKILL.md's routing table to mention it.Mirrors resend/resend-node#1079.