Retry a low-quality run
retry_low_quality_runRe-run underperforming actor runs with incrementally stronger anti-blocking settings—residential proxies, then a browser crawler—until data quality hits the target or all attempts are used.
Instructions
Re-run an actor with progressively stronger anti-blocking settings (residential proxies, then a browser crawler) until the dataset quality score reaches the threshold or attempts are exhausted. Each attempt costs Apify credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | Run whose output quality was too low | |
| threshold | No | Stop retrying once the quality score reaches this value | |
| json_schema | No | JSON Schema items should satisfy; also drives the quality score | |
| max_attempts | No | Maximum number of re-runs (each escalates proxy/browser settings) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attempts | Yes | ||
| final_run_id | Yes | ||
| final_quality | Yes | ||
| initial_quality | Yes | ||
| final_dataset_id | Yes | ||
| reached_threshold | Yes |