Install, prepare and start GenAI Studio on the selected board
POST/api/genai-setup/run
Starts one detached job on the board running every step that is not done yet, in order: NEAT_APPS_SKIP_DEPENDENCIES=1 NEAT_APPS_OVERWRITE=1 sima-cli neat install apps from /media/nvme (the running Insight is never reinstalled; an Insight built from develop or any branch other than main installs apps@develop, and a GenAI Studio from another channel or built for an older Neat Library line is replaced, its files kept in /media/nvme/.prebuilt-apps-backup), setup.sh without a terminal (default voice languages), then run.sh, which keeps running. NVMe must be mounted at /media/nvme; caches and temporary files use /media/nvme/.cache/neat-genai-studio. The job outlives the request, the SSH session and Insight; its logs are in ~/.neat-insight/genai-setup/ on the board. Refuses while a step runs or GenAI Studio is still starting (setup_running), when everything is done (setup_done), or when a step's prerequisite is missing (setup_blocked, with the step and the fix). {"redo": "prepare"} runs setup.sh again and restarts GenAI Studio, for example after fixing what it warned about; GenAI Studio is stopped first. A GenAI Studio still running while an earlier step failed or was stopped is also stopped first, and started again after that step.
Request
Responses
- 200
- 400
- 409
- 502
- 504
The job started; each step's state.
The board or a command on it could not be used. code identifies the failure and hint names the recovery step.
The board or a command on it could not be used. code identifies the failure and hint names the recovery step.
The board or a command on it could not be used. code identifies the failure and hint names the recovery step.
The board or a command on it could not be used. code identifies the failure and hint names the recovery step.