Skip to Content
Signals Docs

get_refinement

The proposed change of a search and, when the check is ready, what it does to the shortlist.

  • Scope: signals:searches.read
  • Changes data: No

Input

ParameterTypeRequiredValue
searchIdstringYesThe search id

Returns

The proposed change and its rules. When the check is ready, what happens if the user applies it:

  • How many candidates on the shortlist stay
  • How many are set aside
  • How many waiting candidates pass and can fill the open places
  • How many candidates set aside by an earlier change come back

If the check is not ready, the result says to call again in about a minute.

Show the result to the user. If they approve, call apply_refinement.

Errors

  • "This search has no proposed change." Call refine_search first.
  • "The check of the current candidates failed." Send the feedback again with refine_search.

On this page