Manage Saved Searches
aiapplyd_manage_saved_searchesManage the user's saved searches: named snapshots of their job preferences, with optional email alerts for new matches. action "list" shows them; "save" saves the current job preferences as a new search, with an optional name and…
Instructions
Manage the user's saved searches: named snapshots of their job preferences, with optional email alerts for new matches. action "list" shows them; "save" saves the current job preferences as a new search, with an optional name and alerts_enabled; "update" renames one or turns its email alerts on or off; "delete" removes one for good, so call it only when the user asks. Nothing is sent to any employer and nothing is spent. Do not use it to change what the user is matched with; use aiapplyd_update_job_preferences. Next: aiapplyd_get_matches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | For save and update: the name of the search. When save gets none, it names the search after the first role and location. | |
| action | Yes | list: every saved search. save: save the current job preferences as a new search. update: rename one or turn its email alerts on or off. delete: remove one for good. | |
| alerts_enabled | No | For save and update: true emails the user new matches for this search, false stops the emails. | |
| saved_search_id | No | The saved search, from action list. Required for update and delete. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| saved | Yes | action save or update: the search after the change. | |
| action | Yes | ||
| searches | Yes | action list: every saved search. | |
| deletedId | Yes | action delete: the search that was deleted. |