Retry failed expertises
retry_expertisesRetry only an existing record's failed expertise domains, then update its output and attempt the run's fusion/synchronization. Billed for retried work. Requires failed_expertises on that record (get_record); a surviving successful sibling is not retryable and returns no_failed_expertises. Supply its entity_input_data and saved_schema_id; model optionally substitutes the failed model. Returns job_id: poll get_job_status, then re-read get_record. When the failed leg left no record, use a one-model enrich_entity with database_sync=false followed by merge_records instead. Recovery decisions: enricher://docs/enrichment-and-fusion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Model to retry with (provider::model from list_models). Defaults to the record's own model — pass a stronger one when a domain fails repeatedly on it (retrying the same model that just failed usually fails again). Only the failed domains are re-run and re-billed; the record stays attributed to its original model. | |
| languages | No | ISO 639-1 codes; defaults to ['en']. | |
| record_id | Yes | Enrichment record with failed expertises. | |
| schema_id | No | Saved schema UUID (get_record -> saved_schema_id). Or pass target_schema. | |
| entity_data | Yes | The record's original entity input (get_record -> entity_input_data). | |
| target_schema | No | Raw schema dict when no saved schema exists. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||