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

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

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

## Path parameters

- `sampleId` string, uuid, required

## Request body

- object
  - `decision` 'accepted' | 'rejected', required
  - `reason` 'hu_occluded' | 'hu_occluded_window_too_short' | 'scan_ambiguous' | 'scan_occluded' | 'classifier_wrong' | 'bbox_tilted' | 'bbox_oversized' | 'bbox_undersized' | 'bbox_height_length_ambiguous' | 'segmentation_wrong' | 'pallet_mixed' | 'sticker_scanned' | 'other' | 'scan_in_trailer' | 'bad_bounding_box_fit' | 'item_not_measurable' | 'no_scan_visible' | 'bad_measurements' | 'unclear_item' | 'different_item' | 'bbox_misfit' | 'item_occluded' | 'ambiguous' | 'wrong_item_selected' | 'bad_segmentation' | 'mixed_pallet' | 'barcode_not_attached' | 'stacked_items'
  - `reasonText` string

## Response `200`

Default Response

## Changes

- **2026-09-16** `5260c627c7e6` — 2 info
  - added the new `bbox_undersized` enum value to the request property `reason`
  - added the new `scan_in_trailer` enum value to the request property `reason`
- **2026-09-15** `7f2d3a8bff94` — 1 info
  - added the new `hu_occluded_window_too_short` enum value to the request property `reason`
- **2026-09-12** `c58d71a89db5` — 4 info
  - added the new `bbox_misfit` enum value to the request property `reason`
  - added the new `different_item` enum value to the request property `reason`
  - added the new `item_occluded` enum value to the request property `reason`
  - added the new `unclear_item` enum value to the request property `reason`
- **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/attempts/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/932b1b877e8b?raw)
