latestOpenAPI 3.0.12026-08-21183382785.0 KB
24caa8eb809b
Segments
Retrieve population statistics of segment
Retrieve the population history of the segment. The history is returned per day and those days are calculated in the timezone of the audience. Note that funnel_stage kind doesn't have statistics via this endpoint.
get/audiences/{audienceId}/segments/{segmentId}/statistics
Path parameters
audienceIdinteger required
Audience ID of the segment
segmentIdinteger required
ID of Segment to return
Query parameters
fromstring date
Example:2019-01-01
from date
tostring date
Example:2019-04-30
to date (inclusive)
Response
array of tuple of statistics
Example response
[
[
1556382847,
1234,
true
]
]