Developer API Reference
Programmatically trigger parametric solid CAD compilation, fetch multi-stock cut-lists, and stream workshop production payloads into your internal ERP or shop-floor scheduling systems.
1. Authentication & API Keys
All API requests must include an enterprise API key in the Authorization header as a Bearer token:
Generate and manage API keys inside your GearBox Studio Account Settings under Developer Integrations.
/api/ai/cadSynthesizes natural language prompts or base parameters into a validated, deterministic Split-Box AST assembly tree.
curl -X POST https://gearboxcad.com/api/ai/cad \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "4-bay fitted wardrobe 3600x2700x600mm with walnut doors and 18mm birch carcass",
"mode": "cabinet",
"units": "mm"
}'{
"success": true,
"program": {
"dimensionsMm": [3600, 2700, 600],
"envelopeTolerance": "±0.1mm",
"runs": [
{
"id": "run-01",
"title": "4-Bay Fitted Wardrobe",
"sizeMm": [3600, 2700, 600],
"partsCount": 58,
"cutList": [
{
"id": "P-01",
"name": "Gable Left Carcass",
"dimensions": [18, 2700, 580],
"material": "Baltic Birch 18mm",
"edgeBanding": "1.0mm Impact ABS"
}
]
}
]
}
}/api/projects/:id/bomFetches the complete multi-material Bill of Materials (BOM), sheet-stock yield analysis, and individual component dimensions formatted for CNC beam saws or ERP inventory.
format: json (default) | csvsheetStock: 2440x1220 | 3050x15253. Vault Webhook Subscriptions
Configure real-time webhooks to trigger downstream fabrication actions whenever a client reviews or approves a 3D design:
Ready for Enterprise API Access?
Contact our engineering team to request dedicated API throughput, custom webhook endpoints, and ERP synchronization.