# Real-time derived part count (state × cycle × cavity) for every active order (/docs/api-reference/production-orders/ProductionOrdersController_getDerivedCounts)

`GET /api/factories/{factoryId}/production-orders/derived-counts`

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

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

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `factoryId` | path | yes | string | Factory ID |
| `from` | query | yes | string |  |
| `to` | query | yes | string |  |
| `shiftId` | query | yes | string |  |

## Responses

### 200: Map of orderId → derived partCount used by lists, cards, and tiles