List Segments
list_segmentsList the account's saved Insights (Spotlight) account-journey segments: {id, name, status, last_update_date}.
Segments are shared with the SaaS UI (Spotlight > Journey), so a marketer may already have the one you need: check here BEFORE create_segment and reuse instead of creating a near duplicate.
name filters fuzzily (case-insensitive contains or a close match). An empty list means the account has no segments yet, not an error: create one with create_segment when the ask needs it. Creating needs an ACTIVE Insights (Spotlight) subscription on the account: create_segment checks it first and refuses with the subscription state when it is expired or missing. Relay that to the user instead of retrying; existing segments stay usable either way.
STATUS: READY can be used; PENDING is still extracting a CRM field (re-check later); FAILED cannot back an audience.
NEXT: get_segment_criteria(segment_id, lookback_window) to read a segment's filter and how many accounts it matches in a window; create_audience_from_segment to turn it into an audience; get_insights_report(criteria=...) to browse its accounts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional fuzzy search by name. | |
| sort | No | Sort format: field,direction. Default: name,asc | name,asc |