# Get Gantt schedule data for all orders (/docs/api-reference/production-orders/ProductionOrdersController_getSchedule)

`GET /api/factories/{factoryId}/production-orders/schedule`

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: Schedule data with orders, sub-orders, machine assignments, and time ranges