Returns the segment's size each day in the report window, as the background count last found it that day; it is counted every 15 minutes or so. Days are the workspace timezone's, as in every report. A day with no count (before the segment existed, or while the sweep was behind) is absent. Each day also says how many contacts joined and left (list them with GET /v1/segments/{id}/membership-changes), and definitionChanges the days the rules were saved, so a step in the line reads as an edit. Kept for 400 days; a window covers at most 366.
Path parameters
idstringrequired
The segment's id.
uuid
Query parameters
fromstringoptional
Start of the window, inclusive: a date-time, or a date meaning the start of that day in the workspace timezone. Give with to; omit both for the last 30 days.
tostringoptional
End of the window, exclusive, in the same forms. To include a whole last day, pass the day after it: from=2026-10-01&to=2026-10-08 covers 1 to 7 October. No later than the end of today; a window touches at most 366 days. Give with from.
Header parameters
Kirora-Workspacestringoptional
Partner keys only: the child workspace to act in, by the external id the partner gave it. Without it, a partner key acts in its own workspace. Any other key that sends it is refused with 403, and an unknown workspace is 404.
pattern ^[A-Za-z0-9._:-]{1,128}$
Returns
Returns 200 OK with a SegmentSizeHistory in data. Otherwise returns an error; Errors lists every code and which to retry.
segmentIdstringrequired
uuid
pointsobject[]required
Oldest first.
4 child attributes
daystringrequired
The day, YYYY-MM-DD in the workspace timezone.
date
memberCountintegerrequired
Contacts that matched.
min 0
joinedCountinteger | nullrequired
Contacts that joined that day; null before joins were counted. On the segment's first day it counts only those who joined after its first count.
min 0
leftCountinteger | nullrequired
Contacts that left that day; null as joinedCount is.
min 0
definitionChangesobject[]required
Days in the window the rules changed, oldest first.
2 child attributes
daystringrequired
The day, YYYY-MM-DD in the workspace timezone.
date
changedAtstringrequired
That day's last save of the rules.
date-time
We'd like to use Google Analytics cookies to understand how people use this site. You can accept or decline them. See our Cookie Policy.