saved_searches_update
Change the filters (params_json, same shape as companies_search query params), the target segment, the daily add_limit, or turn the schedule on and off with is_enabled. Run saved_searches_add_now with a small count to check a changed query before enabling it.
Method: PATCH /api/v1/workspaces/{workspace_sqid}/saved-searches/{sqid}/
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sqid": "<sqid>"
},
"name": "saved_searches_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Short label for the saved search (e.g. 'US Series-A SaaS founders'). | |
| sqid | Yes | ||
| add_limit | No | Hard daily cap on leads this search may add (0–100). Shared by every automated caller: the hourly scheduled run and campaign autopilot draw from the same budget and cannot exceed it between them. **0 pauses the search** for both — that, not `is_enabled`, is how you stop autopilot pulling from it. Manual `saved_searches_add_now` bypasses the cap. Each run picks the oldest-not-yet-added matches. | |
| is_shared | No | Whether this saved search is shared with other users in the workspace | |
| is_enabled | No | Whether the scheduled batch picker should auto-run this saved search. Defaults to False on create via the API — the UI uses a separate form and keeps the model default of True. Flip to True once you've previewed results with `saved_searches_add_now` and confirmed the query is tight enough. `saved_searches_add_now` itself ignores this flag, so manual add-now works either way. | |
| params_json | No | The discovery query as JSON — same keys `companies_search` accepts (`countries`, `regions`, `industries`, `keywords`, `size`, `name`, `about`, etc.; see `companies_search`'s description). Multi-value filters may be either a flat list of integer IDs (`[3, 5]`) or a list of `{value, label}` objects (`[{"value": 3, "label": "United States"}]`); the UI persists the latter for display, and the saved-search runner extracts `.value` before filtering. Runs once per invocation; new matching people are added to the target segment. | |
| add_to_segment | No | Sqid of the segment that newly-found people should be added to as leads. Required to run the search. | |
| rejected_segment | No | Optional. Sqid of a 'dead-end' segment — people already in it are skipped on future runs. Useful to avoid re-prospecting leads who replied negatively. |