Get Segment Criteria
get_segment_criteriaRead one saved Insights segment by id or name: its criteria, status, and how many accounts it matches. Pass lookback_window to count inside the window an audience would use.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| segment_id | No | Segment ID (fastest lookup). | |
| segment_name | No | Segment name (fuzzy matching, case-insensitive). | |
| lookback_window | No | Days to evaluate the segment over when counting accounts; use the window the audience will be created with. |