# Get a machine by ID (/docs/api-reference/machines/MachinesController_findOne)

`GET /api/factories/{factoryId}/machines/{id}`

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

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

## Parameters

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

## Responses

### 200: Machine details

### 404: Machine not found