# Get machine detail overview (utilization, parts, downtime, color duration) (/docs/api-reference/monitoring/MonitoringController_getMachineDetail)

`GET /api/factories/{factoryId}/monitoring/machine-detail`

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

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

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `factoryId` | path | yes | string | Factory ID |
| `machineId` | query | yes | string | Machine ID |
| `from` | query | yes | string | Start time (ISO 8601) |
| `to` | query | yes | string | End time (ISO 8601) |
| `bucket` | query | no | string | Time bucket interval (e.g., "1 hour", "1 day") |
| `shiftId` | query | no | string | Filter by specific shift ID for shift-aware utilization |
| `orderId` | query | no | string | Scope part counts to a single production order (UUID). Color-duration/downtime stay window-based. |

## Responses

### 200: Machine detail overview data