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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_segment_criteria"
}
}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. |