---
title: "Analyse Garment"
method: POST
path: "/questionnaires/jobs/{job_id}/analyse-garment"
tags: ["questionnaires"]
---

# Analyse Garment

`POST /questionnaires/jobs/{job_id}/analyse-garment`

## Request

- Base URL: `https://api.threadchain.pro` (the document declares no server; this is the origin it was published from)
- URL: `https://api.threadchain.pro/questionnaires/jobs/{job_id}/analyse-garment`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

Enqueue vision LLM analysis of original sketch uploads + approved 2D flats.

Result is written to ``platform_payload.garmentAnalysePayload`` (status + rows).
Poll GET ``/jobs/{job_id}/platform-state`` until ``merged.garmentAnalysePayload.status``
is ``completed`` or ``failed``. Does not persist style placement — save via PATCH
platform-state after the user reviews and edits.

## Path parameters

- `job_id` string, uuid, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/threadchain/apis/threadchain-backend.md) - [All operations](https://skmtc.dev/threadchain/apis/threadchain-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/threadchain/apis/threadchain-backend/revisions/8ee288a7e6bd?raw)
