Refine a search
claro_refine_searchChange part of an earlier search in plain words ("bigger, at least 200 m²", "Barcelona too", "drop the corner") and run it again as a new search with its own search_id and pages. Takes the search_id from claro_search_premises; searches are kept 24 hours. Results as claro_search_premises gives them; next_cursor as cursor gets the next page. On the Free plan, each call (and each page) is one of 4 searches. Costs 100 tokens a call. Each page is a call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language of the text the answer writes (titles, notes, labels, reasons, error messages): en (default) or de (German). Place names, agency names, property titles and quotes from a property's own text stay as written. | en |
| check | No | Read the top results' text against the criteria for a fit verdict (adds a few seconds). Off above 50 results a page and on later pages. | |
| limit | No | Results a page, up to 200; above 50 check is off. | |
| change | No | What to change, in plain words. Required unless cursor is sent. | |
| cursor | No | next_cursor from an earlier answer: returns that search's next page, same criteria and order. Send without brief, criteria or change. | |
| offset | No | With search_id (no brief, criteria or change): the page of that stored search starting at this place in its ranked matches. Same order as its cursors. | |
| insights | No | ||
| search_id | Yes | The search_id from search_premises or an earlier refine_search (kept 24 hours). | |
| stated_only | No | Only the matches that state every criterion (met). Matches with a criterion not stated or not met are left out of results and of page.total; counts keeps both totals. With search_id and no brief/criteria/change: pages that stored search. |