---
title: "Get Material Recommendations"
method: GET
path: "/api/v1/materials/recommendations"
tags: ["v1", "Materials"]
---

# Get Material Recommendations

`GET /api/v1/materials/recommendations`

## Request

- Base URL: `https://api.jeevyfabrication.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jeevyfabrication.com/api/v1/materials/recommendations`
- Auth: none declared

Co-occurrence recommendation engine for the Add Item panel.

Algorithm:
1. Resolve the current list (group_name, project_id, quote_id).
2. Find peer lists: same shop AND (same group_name OR same project/quote).
3. Collect every item across those peer lists.
4. Count frequency: how many distinct lists each part_number appears in.
5. Exclude part_numbers already in the current list.
6. Return top-N by frequency, then by recency.

Also returns the 5 most recently purchased (po/purch) items from the shop
as a separate "recently_ordered" list for the DefaultOverview panel.

Shop scoping is server-injected — the frontend cannot pass shop_id.

## Query parameters

- `listId` integer, required
- `limit` integer

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api.md) - [All operations](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/revisions/ad9a01abeac9?raw)
