---
title: "Generate Techpack Pom Table"
method: POST
path: "/questionnaires/techpack/generate-pom-table"
tags: ["questionnaires"]
---

# Generate Techpack Pom Table

`POST /questionnaires/techpack/generate-pom-table`

## 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/techpack/generate-pom-table`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

Generate a structured POM JSON for the in-app tech pack table (Gemini Flash),
using the same core inputs as the Excel pipeline plus a serialized size-chart block.
Reference renders are optional; any URL that fails to download is skipped.

## Request body

- TechpackPomGenerateRequest: Inputs aligned with server-side Excel POM generation, plus the in-app size-chart block.
  - `item_description_text` string, required
  - `sample_sizes_clothing` string, required
  - `sizing_reference_brand` string
  - `item_fit_coverage_text` string
  - `construction_details` string
  - `gender` string
  - `size_guide_text` string, required: Serialized size grid (filled XXS–6XL letter columns only) from the in-app editor.
  - `size_guide_measurement_unit` string: User-declared linear unit for size-chart numbers (e.g. inches, cm). Skips unit-token heuristic when set.
  - `front_3d_url` string, nullable
  - `back_3d_url` string, nullable
  - `front_2d_url` string, nullable
  - `back_2d_url` string, nullable

## Response `200`

Successful Response

- TechpackPomGenerateResponse
  - `measurements` TechpackPomMeasurementItem[]
    - `id` string
    - `section` string
    - `name` string
    - `size_inches` string
    - `tolerance` string
    - `notes` string
  - `raw_text` string

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