review_assets
Save a review verdict and reason for each photo, so later sessions skip redoing the same cleanup or duplicate analysis. The stored decision makes the outcome and its rationale available in future Immich sessions.
Instructions
Remember a review verdict on assets, with the reason, so a later session does not redo the analysis and the why survives. Use this after deciding what to do with a photo in a cleanup or duplicate pass — together with a tag when the user must see the state in Immich (tags are visible there, notes are not). Side effect: writes the plugin's metadata key on each asset; other apps' keys are untouched.
Args:
asset_ids: The assets the verdict applies to.
verdict: One of 'keep', 'delete_candidate', 'duplicate_of', 'needs_check'.
reason: Free text explaining the verdict (e.g. 'near-identical to IMG_6367,
keep that one'). Short and concrete beats long.
Returns: JSON with success, the number of assets reviewed, the verdict, and a
failed array of {asset_id, error} for any asset that could not be written.
Success is true only when nothing failed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| verdict | Yes | ||
| asset_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |