Zum Hauptinhalt springen
← CutOptim Engine API

API-Referenz

Basis-URL https://api.cutoptim.com · Contract-Version v1

Erstellen Sie einen Schlüssel in Ihrem Dashboard und senden Sie ihn dann als Authorization: Bearer <key>.

▶ API live ausprobieren — ohne AnmeldungNutzt einen öffentlichen Demo-Schlüssel — begrenzt, nur kleine Aufträge, wird nie abgerechnet.

Integrationen

Configurator-API-Referenz →Händler-API des CutOptim Configurators: Embed-Aufrufe, Angebotsprüfung auf Ihrem Server, signierte Bestell-Webhooks, das Dokument order.v1 und Fehler.

Endpoints

MethodePfadBeschreibung
POST/v1/optimize/2d2D-Plattenoptimierung
POST/v1/optimize/1d1D-/Linearoptimierung (Stäbe, Profile, Rohre)
POST/v1/optimize/woodHolzoptimierung — 1D mit Querschnitts-Zuordnung
POST/v1/optimize/nestTrue-Shape-Nesting — unregelmäßige Polygone auf festen Platten, mit Ausschlusszonen (Laser / Plasma / Wasserstrahl)
POST/v1/validate/2deine Anfrage prüfen, ohne zu rechnen — kostenlos, kein Schlüssel, kein Kontingent (2d / 1d / wood / nest)
POST/v1/validate/1deine Anfrage prüfen, ohne zu rechnen — kostenlos, kein Schlüssel, kein Kontingent (2d / 1d / wood / nest)
POST/v1/validate/woodeine Anfrage prüfen, ohne zu rechnen — kostenlos, kein Schlüssel, kein Kontingent (2d / 1d / wood / nest)
POST/v1/validate/nesteine Anfrage prüfen, ohne zu rechnen — kostenlos, kein Schlüssel, kein Kontingent (2d / 1d / wood / nest)
GET/v1/jobs/{id}einen asynchronen Job der max-Engine abfragen — liefert seinen status und, sobald fertig, den Plan (kein Kontingent; nur Ihre eigenen Jobs)
POST/v1/import/nestTeileumrisse aus einer SVG- oder DXF-Datei lesen — Schlüssel erforderlich, verbraucht kein Kontingent
GET/v1/usageVerbrauch und Kontingent des KONTOS im laufenden Monat
GET/v1/healthLiveness — kein Schlüssel, kein Rate-Limit, keine Datenbank

POST /v1/validate/{2d,1d,wood,nest} — response

The request is well-formed. No solve ran and no quota was spent.

FeldTypBeschreibung
validbooleanAlways true on a 200 — a malformed request is a 400 with the exact bad field path (details.path) instead. The body is the SAME one the matching optimize endpoint takes.
mode"2d" | "1d" | "wood" | "nest"The endpoint you called.
contractVersionstringShape version. Currently "1".
engineEnabledbooleanNest only — whether the nesting engine is built into this deployment. Absent for the rectangular modes.
parts{ rows, total }Part rows sent, and the total quantity after qty expansion. Check it against the part cap before you spend a call.
parts.rowsintegerNumber of part rows sent.
parts.totalintegerTotal quantity across all part rows (Σ qty).
stock{ rows, total }The same for stock.
stock.rowsintegerNumber of stock rows sent.
stock.totalintegerTotal quantity across all stock rows (Σ qty).
warningsstring[]Approximate, solve-free feasibility notes — e.g. a part that fits no stock (2D and nest: by bounding box; wood: no matching section long enough). Empty ⇒ every part fits some stock. Ignores trim/kerf/material (a shape check, not a solve).

OpenAPI-Spezifikation

Ein maschinenlesbares OpenAPI 3.1-Dokument beschreibt alle zwölf Endpoints, jeden Request-Body, jede Antwortstruktur und jeden Fehler. Richten Sie Ihren Client-Generator darauf, statt diese Seite abzuschreiben. Das Dokument selbst ist ausschließlich englisch: es besteht aus Contract-Tokens, und OpenAPI besitzt keinen Lokalisierungsmechanismus.

curl -s https://cutoptim.com/engine/openapi.json > cutoptim-engine.json

OpenAPI 3.1-Dokument öffnen →

Zum Download
Engine API one-pager

A two-page summary of the Engine API — the four modes (2D, 1D, wood and true-shape nest), a request and response, determinism and pricing. Print-ready, with a QR back to the docs.

PDF2 pagesFree
PDF herunterladen