Skip to Content
Signals Docs

refine_search

Propose a change to a search from the user's feedback. Nothing changes until apply_refinement.

Signals turns the feedback into search rules and checks the current candidates against them. For example: "more senior", "no agency people", "only people in Berlin".

  • Scope: signals:searches.write
  • Changes data: No. It saves a proposal; the shortlist changes only with apply_refinement. A new call replaces the earlier proposal.

Input

ParameterTypeRequiredValue
searchIdstringYesThe search id, from list_searches
feedbackstring, up to 2,000 charactersYesWhat should change, in the user's words

Returns

The proposed change: what changes, the rules every candidate must meet, and where the search looks. The check of the current candidates takes about a minute. Call get_refinement to see its result.

Errors

  • "This search has no definition to refine yet." Wait until the search status is active.
  • "Signals does not search on protected characteristics such as ..." Signals does not filter on age, gender, ethnicity or other protected characteristics. Ask the user for skills, experience, location or companies instead.
  • "Signals could not read a change from the feedback." Ask the user for a more specific change.

On this page