Docs
Segments

Estimate a segment's size

GET/segments/{id}/estimateNeedscontent.view

Identified 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

secretKey
headerAuthorizationBearer <sk_…>

A secret API key from Settings → API keys. It acts with its creator's role.

Path Parameters

id*integer

The segment's id.

Range1 <= value

Response Body

OK

application/json
  1. 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"
  }
}