dfm

Run Dfm Check

Run DFM rules + cost/lead time estimation for the user's own part.

Deterministic: no Claude API calls. Runs in ~50-200ms.

When preview=true, only the cost and lead-time calculators are run and no DB write happens. Used for live preview while editing specs.

Auth: requires the JWT user to own the part's parent project. Admins use the parallel endpoint POST /admin/parts/{part_id}/dfm-check which skips the ownership check.

post/api/v1/parts/{part_id}/dfm-check

Path parameters

part_idstring uuid required

Query parameters

previewboolean

Cost/lead-time preview only

Cost/lead-time preview only

Request body

process_idstring nullable
material_idstring nullable
quantityinteger nullable

Response

Successful Response

OR

Changes

No recorded changes to this endpoint across all 1 revision of this API.