# Scrap statistics with breakdown by reason code (/docs/api-reference/quality/QualityController_getScrapStats)

`GET /api/factories/{factoryId}/quality/scrap-stats`

Base URL: https://api.xentr.ai

Authentication: bearer token (`Authorization: Bearer <token>`).

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `factoryId` | path | yes | string | Factory ID |

## Responses

### 200