---
title: "Start Image Work"
method: POST
path: "/companies/{company_id}/assets/work"
tags: ["assets"]
---

# Start Image Work

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

## 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/work`
- Auth: none declared

Download, cut out, or both, as batches queued at once (decision 230).

Every picture is listed now, ``image_job_max_items`` to a batch, and each
batch is a row on Activity: the first of each kind starts, the rest wait
their turn. Downloading and cutting out follows each download batch with a
cut-out batch for what it brought in, after the pictures already here.
``everything`` (decision 237) takes every image again: each link fetched
again, every product photo cut out again, and with both each download
batch cut out again after it. 409 ``image-job-running`` while either kind
asked for is under way or queued; 400 when neither is asked for.

## Path parameters

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

## Request body

- ImageWorkRequest
  - `download` boolean
  - `cutout` boolean
  - `cutout_scope` 'all' | 'new'
  - `everything` boolean

## Response `202`

Successful Response

- ImageWorkStarted
  - `plan_id` string, nullable, required
  - `download` ImageWorkCounts, required
    - `images` integer, required
    - `batches` integer, required
  - `cutout` ImageWorkCounts, required
    - `images` integer, required
    - `batches` integer, required
  - `cutout_after_downloads` integer
  - `prepare_after_downloads` integer

## 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)
