Reference / Segments

Re-evaluate a segment now

refresh_segmentocmgr segments refreshPOST /v1/segments/{id}/refreshWRITE

Walk the whole community against a segment’s filter and move whoever has started or stopped matching. It is not usually needed: every write in the pipeline re-checks the segments it could have affected, and an hourly sweep catches the filters that go stale on their own (a "last 30 days" one stops matching somebody at midnight with no row moving anywhere). Reach for it after a bulk import, or when segment_status came back with no evaluatedAt, which means there is no completed evaluation of the current membership. This explicit request completes every page before returning, including without a worker. Saves may defer automatic refreshes; segment_status exposes their progress. Nobody is removed who was added explicitly.

Parameters

segmentstringREQUIRED

The segment, by name or id.

Also in Segments