# GET /api/v1/inventory/forecast/skus

> List per-SKU demand forecasts

- **Tag:** inventory:forecast
- **Operation ID:** `list_sku_forecasts_api_v1_inventory_forecast_skus_get`

## Description

Return the most recently computed statistical demand forecast for each SKU, including the weekly forecast curve, service-level safety stock, suggested reorder point, order-up-to level, and backtest accuracy. Read-only.

## Authentication

Bearer token in `Authorization` header.
Required header: `x-business-id: <business uuid>`.

## Responses

### 200 — Successful Response

Schema: `SkuForecastListResponse`

- `items` (array · SkuForecastItem) → `SkuForecastItem`
  - `variant_id` (string · required)
  - `location_id` (string)
  - `sku` (string)
  - `variant_name` (string)
  - `method` (string · required)
  - `demand_class` (string · required)
  - `horizon_weeks` (integer · required)
  - `weekly_forecast` (array · number)
  - `avg_weekly_demand` (number)
  - `sigma_weekly` (number)
  - `service_level` (number)
  - `lead_time_days` (integer)
  - `safety_stock` (number)
  - `forecast_reorder_point` (number)
  - `order_up_to` (number)
  - `accuracy_mape` (number)
  - `accuracy_bias` (number)
  - `generated_at` (string)
- `total` (integer)

### 401 — Unauthorized - Authentication required

### 403 — Forbidden - Insufficient permissions

### 404 — Not Found - Resource does not exist

### 422 — Validation Error

Schema: `HTTPValidationError`

- `detail` (array · ValidationError) → `ValidationError`
  - `loc` (array · string | integer · required)
  - `msg` (string · required)
  - `type` (string · required)
  - `input` (object)
  - `ctx` (object)

## Code samples

### cURL

```bash
curl -X GET 'https://api.ondayzero.com/api/v1/inventory/forecast/skus' \
  -H 'Authorization: Bearer dz_your_token' \
  -H 'x-business-id: YOUR_BUSINESS_ID'
```

### JavaScript

```javascript
const response = await fetch('https://api.ondayzero.com/api/v1/inventory/forecast/skus', {
  method: 'GET',
  headers: {
    Authorization: 'Bearer dz_your_token',
    'x-business-id': 'YOUR_BUSINESS_ID',
  },
});
const data = await response.json();
```

### Python

```python
import httpx

headers = {
    "Authorization": "Bearer dz_your_token",
    "x-business-id": "YOUR_BUSINESS_ID",
}

response = httpx.get("https://api.ondayzero.com/api/v1/inventory/forecast/skus", headers=headers)
data = response.json()
```

## See also

- HTML version: https://www.ondayzero.com/docs/reference/inventory-forecast/list-sku-forecasts
- OpenAPI slice: https://www.ondayzero.com/docs/reference/inventory-forecast/list-sku-forecasts/openapi.json
- Other endpoints in **inventory:forecast**: https://www.ondayzero.com/docs/reference/inventory-forecast
