admin-dfm

Get Pricing Prediction

Return Track A + Track B pricing prediction for a part at given quantity.

Track A is the deterministic cost-floor output from calculate_cost (unit_price + breakdown).

Track B is the empirical predictor — populated when the (process, complexity, qty) bucket has sample_size >= 3 calibration samples. Returns None for cold-start buckets (Phase 2 wires track_b onto the cost preview response).

Read-only: preview=True takes the cost-preview branch which never persists anything. Auth: projects:view.

get/api/v1/admin/parts/{part_id}/pricing-prediction

Path parameters

part_idstring uuid required

Query parameters

quantityinteger

Order quantity

Order quantity

Response

Successful Response

unit_price_lownumber nullable
unit_price_midnumber nullable
unit_price_highnumber nullable
lead_time_daysinteger nullable
lead_time_optionsobject nullable
messagestring nullable
pricing_operations_source'legacy_summary' | 'projection_v2'

Changes

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