Segments
Estimate a segment's size
GET
/segments/{id}/estimateNeedscontent.viewIdentified users active in the last 30 days who match, best effort. Trait rules can't be checked (traits aren't stored), so upperBound is true when there are any. 30 estimates a minute per workspace.
Authorization
secretKeyheader
AuthorizationBearer <sk_…>A secret API key from Settings → API keys. It acts with its creator's role.
Path Parameters
id*integerThe segment's id.
Range
1 <= valueResponse Body
OK
application/json- response
estimate*Shell
curl -X GET 'https://app.cueston.com/api/segments/1/estimate'Example Response
JSON
{
"estimate": {
"count": 1280,
"activeUsers": 5400,
"evaluated": 5000,
"upperBound": true,
"days": 0,
"note": "Clearer copy on step 2"
}
}