Run a full 7-step CT scan workflow from iPad or CLI via the Leitfaden pipeline.
Run a complete CT scan through the 7-step Leitfaden workflow. Orchestrates the iPad UI, Pi Camera Server, and CT-PC API to automate the entire measurement cycle from sensor selection through STL export.
Check system readiness
curl -s http://localhost:4800/api/health # iPad UI
curl -s http://localhost:4801/health # Pi Camera Server
curl -s http://localhost:4802/health # CT-PC API
curl -s http://localhost:4803/api/health # Health Dashboard
/autopilot-health firstGather scan parameters
Step 1 — Sensor selection + size profile
curl -X POST http://localhost:4802/scan/step/1 \
-H "Content-Type: application/json" \
-d '{"sensor": "<sensor>", "sizeProfile": "<profile>"}'
Step 2 — CT tab switch
curl -X POST http://localhost:4802/scan/step/2
Step 3 — Parameter entry
curl -X POST http://localhost:4802/scan/step/3 \
-H "Content-Type: application/json" \
-d '{"voltage": <kV>, "current": <uA>, "integrationTime": <ms>, "quality": "<quality>", "steps": <n>}'
Step 4 — Tube activation
curl -X POST http://localhost:4802/scan/step/4
/scan/status)Step 5 — Position check
curl -X POST http://localhost:4802/scan/step/5
/autopilot-calibrate to adjustStep 6 — Run the scan (Messen)
curl -X POST http://localhost:4802/scan/step/6
curl -s http://localhost:4802/scan/status
Step 7 — STL export
curl -X POST http://localhost:4802/scan/step/7 \
-H "Content-Type: application/json" \
-d '{"outputName": "<part-name>"}'
Or start full scan in one call
curl -X POST http://localhost:4802/scan/start \
-H "Content-Type: application/json" \
-d '{"sensor": "<sensor>", "sizeProfile": "<profile>", "voltage": <kV>, "current": <uA>, "integrationTime": <ms>, "quality": "<quality>", "steps": <n>, "outputName": "<part-name>"}'
Verify result
/autopilot-stl — Analyze the exported STL, run Soll-Ist comparison/autopilot-calibrate — Adjust calibration if dynamics were out of range/autopilot-status — View scan history and queue/autopilot-health — Verify all nodes are still healthy after the scan