API Reference
Full endpoint documentation for the Sawvant cutting optimization API, generated from the OpenAPI spec.
Every endpoint below is generated from the OpenAPI spec. The machine-readable version lives at sawvant.com/openapi.json.
Optimization
- Submit a cutting optimization job —
POST /v1/optimize - Submit multiple jobs —
POST /v1/optimize/batch
Jobs
- Get job status —
GET /v1/jobs/{id} - Stream job progress —
GET /v1/jobs/{id}/stream - Render a cutting plan as SVG —
GET /v1/jobs/{id}/diagram - Render a cutting plan as PDF —
GET /v1/jobs/{id}/diagram.pdf
System
- List subscription tiers —
GET /v1/tiers - Health check —
GET /health
Authentication
All /v1/ endpoints except /v1/tiers require an X-API-Key header. Keys are
prefixed with sk_ and are created in the Dashboard.