1D Cutting Optimization API
POST stock, demand, kerf and trim parameters to the Cutwise API and receive a validated solver-v1 result with patterns, totals and termination facts.
Updated: · Toreniva Cutwise technical reviewEndpoint and authentication
Send POST requests to https://cut.toreniva.com/api/v1/solve with an Authorization: Bearer cut_live_... header and application/json content type.
Minimal request
{
"trimPerEnd": 8,
"kerf": 3,
"stocks": [{"id": "stock-main", "length": 6000, "quantity": 20, "unitCost": 100}],
"demands": [{"id": "A-01", "length": 1850, "quantity": 4}]
}Result contract
A successful response reports OPTIMAL or FEASIBLE, includes validated cutting patterns and exposes the algorithm build identity. Invalid input and solver failures do not use a calculation credit.