media

Get Layerize Status

Changed on

Poll a layerize job started by POST /v1/media/layerize.

Statuses follow the public task taxonomy (queued / running / succeeded / failed / canceled / expired). On success, result reports the merged group; a known non-mergeable outcome (single cohesive layer, too few separable layers, source image swapped or deleted mid-job) completes with result.success: false and a typed failure_reason — the canvas keeps the flat image. Authorization is by team access to the result canvas; anything else is an existence-hiding 404.

get/media/layerize/{task_id}

Request

  • Base URL
    https://api.moda.app/v1
  • URL
    https://api.moda.app/v1/media/layerize/{task_id}
  • Auth
    HTTP bearer

Path parameters

task_idstring required

Prefixed task_ wire ID (Crockford base32 body) — the canonical, recommended form. For back-compat, a bare UUID string is also accepted in both path parameters and JSON request bodies (older integrations that stored raw UUIDs keep working), as is the prefix over a UUID body (task_00000000-0000-4000-8000-000000000000). All three are permanent, supported inputs; only the canonical form is ever emitted.

Example:task_01HT9WK8N3M2J4A5Z6P7Q8R9TV

Headers

Moda-Version'2026-04-12' | '2026-05-01'
Example:2026-05-01

Calendar-dated API version pin. New integrations should pin 2026-05-01 to opt into the newest response shapes. For back-compat the server also accepts requests with no header and resolves them to the current default (today: 2026-04-12); that default advances on each sunset date. Any unsupported value returns 400 unsupported_version.

Response

Successful Response

object required

Changes