---
title: "POST /v1/qa/training/samples/{sampleId}/reference"
method: POST
path: "/v1/qa/training/samples/{sampleId}/reference"
---

# POST /v1/qa/training/samples/{sampleId}/reference

`POST /v1/qa/training/samples/{sampleId}/reference`

## Path parameters

- `sampleId` string, uuid, required

## Request body

- object
  - `decision` 'accepted' | 'rejected', required
  - `reason` 'hu_occluded' | 'scan_ambiguous' | 'scan_occluded' | 'classifier_wrong' | 'bbox_tilted' | 'bbox_oversized' | 'bbox_height_length_ambiguous' | 'segmentation_wrong' | 'pallet_mixed' | 'sticker_scanned' | 'other' | 'bad_bounding_box_fit' | 'item_not_measurable' | 'no_scan_visible' | 'bad_measurements' | 'ambiguous' | 'wrong_item_selected' | 'bad_segmentation' | 'mixed_pallet' | 'barcode_not_attached' | 'stacked_items'
  - `reasonText` string
  - `callouts` object[]
    - `id` string, required
    - `anchor` object, required
      - `x` number, required
      - `y` number, required
    - `label` object, required
      - `x` number, required
      - `y` number, required
    - `text` string, required

## Response `200`

Default Response

## Changes

- **2026-09-11** `83077935153b` — 1 info
  - added the new `scan_occluded` enum value to the request property `reason`
- **2026-09-10** `08236b56c2e4` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/transload/apis/pipeline-backend/changes/v1/qa/training/samples/:sampleId/reference/post.md)

---

[API](https://skmtc.dev/transload/apis/pipeline-backend.md) · [All operations](https://skmtc.dev/transload/apis/pipeline-backend/llms.txt) · [OpenAPI document](https://skmtc.dev/transload/apis/pipeline-backend/revisions/83077935153b?raw)
