Show CT scanner ecosystem overview — running services, scan history, queue, and worker time logs.
Display a comprehensive overview of the AutoPilot CT-Scanner system including running services, recent scan history, queued jobs, and worker time tracking.
Show service status
echo "=== AutoPilot CT-Scanner Status ==="
echo ""
echo "Service Port Status"
echo "------- ---- ------"
for endpoint in "localhost:4800/api/health" "10.0.0.1:4801/health" "localhost:4802/health" "localhost:4803/api/health" "localhost:4804/api/health"; do
curl -sf "http://$endpoint" --max-time 3 > /dev/null 2>&1 && echo "OK" || echo "DOWN"
done
| Service | Port | Technology |
|---|---|---|
| iPad UI | 4800 | Next.js |
| Pi Camera Server | 4801 | Fastify |
| CT-PC API | 4802 | FastAPI |
| Health Dashboard | 4803 | Next.js |
| Setup Portal | 4804 | Next.js |
Show current scan state
curl -s http://localhost:4802/scan/status
Show scan history
curl -s http://localhost:4802/scan/history?limit=10
Date Part Name Steps Duration Result STL Size
---- --------- ----- -------- ------ --------
2026-03-27 housing-v3 1600 45m completed 128 MB
2026-03-27 bracket-test 800 22m completed 45 MB
2026-03-26 gear-prototype 400 12m failed:s5 -
Show scan queue
curl -s http://localhost:4802/scan/queue
Show worker time logs
curl -s http://localhost:4802/workers/time-log?date=today
Worker Clock In Clock Out Scans Hours
------ -------- --------- ----- -----
Operator-1 08:00 - 5 4.5h
Operator-2 09:30 12:00 3 2.5h
Show system metrics
curl -s http://localhost:4802/metrics
Show configuration summary
curl -s http://localhost:4802/config
/autopilot-scan — Start a new scan/autopilot-health — Deep health check if any service shows as DOWN/autopilot-stl — Export or analyze STL files from recent scans/autopilot-calibrate — Run calibration if it has been more than 24 hours