Skip to Content
Signals Docs

undo_refinement

Take back the last applied change of a search.

The search uses its previous rules again, and the candidates the change set aside get their places back.

  • Scope: signals:searches.write
  • Changes data: Yes

Input

ParameterTypeRequiredValue
searchIdstringYesThe search id

Returns

The rules that are active again. Read the shortlist with get_shortlist.

Errors

  • "This search has no applied change to take back." There is nothing to undo.

On this page