Skip to content

docs: add segment contact metrics endpoints#79

Open
dielduarte wants to merge 1 commit into
mainfrom
segment-metrics-endpoint
Open

docs: add segment contact metrics endpoints#79
dielduarte wants to merge 1 commit into
mainfrom
segment-metrics-endpoint

Conversation

@dielduarte

Copy link
Copy Markdown
Contributor

Adds GET /segments/metrics (account-wide) and GET /segments/{id}/metrics under the existing Segments tag — mirrors resend-monorepo #6349.

Both return contact totals (all_contacts, subscribers, unsubscribers); a cumulative per-week timeseries is opt-in via include=timeseries. Schemas: GetAudienceMetricsResponseSuccess, GetSegmentMetricsResponseSuccess, SegmentMetricsTimeseriesPoint.

Only resend.yaml edited (resend.json is generated). Independent of the account /metrics/* PRs.

@dielduarte
dielduarte marked this pull request as ready for review July 17, 2026 22:30
@github-actions github-actions Bot added the linear-synced PR has been synced to Linear label Jul 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

linear-synced PR has been synced to Linear

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant