---
title: "Reprocess Images"
method: POST
path: "/companies/{company_id}/assets/reprocess"
tags: ["assets"]
---

# Reprocess Images

`POST /companies/{company_id}/assets/reprocess`

## Request

- Base URL: `https://app.zalster.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.zalster.com/companies/{company_id}/assets/reprocess`
- Auth: none declared

Cut out again every asset the active pictures use, as an image job.

Adds new derivatives; nothing reviewed is overwritten. By default skips
assets whose current cutout a person approved or uploaded
(``assets_to_recut``), so a processor upgrade never quietly undoes review
work — pass ``only_unreviewed=false`` to include them (they still keep
their approved cutout as current). ``scope=white`` takes only the
cut-outs the white knockout made, which the model's replace (decision 235).
``scope=review`` takes the Needs review list, each picture not yet cut out
with the review model, and cuts them out with it on the fine worker
(decision 255): 409 ``review-model-off`` where the deployment has none. With
a body's ``asset_ids`` it takes those pictures instead, the ones a person
selected (decision 256). Either leaves out what a batch of it has in hand;
behind one under way it waits its turn (``waiting``).

## Path parameters

- `company_id` string, uuid, required: Company id

## Query parameters

- `only_unreviewed` boolean
- `scope` 'all' | 'white' | 'review'

## Request body

- ReprocessChoice: Decision 256: the pictures ``POST …/assets/reprocess?scope=review`` cuts out with the review model, in place of the Needs review list — the ones a person selected. An empty body (``{}``, which the portal sends with every POST) chooses no pictures: the request takes its scope's own list.
  - `asset_ids` string[], nullable

## Response `202`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/zalster/apis/zalster-feed-processor.md) - [All operations](https://skmtc.dev/zalster/apis/zalster-feed-processor/llms.txt) - [OpenAPI document](https://skmtc.dev/zalster/apis/zalster-feed-processor/revisions/d0b9dc66ad36?raw)
