Commands
create
exec, pause, resume, snapshot
--name: the call returns a snapshot_id, and that id is the handle you pass to
vetta computer create --snapshot. Passing --name is a hard error, not an ignored flag.
build-3d
Runs a build123d (cad, millimetres) or Blender (blender, metres) script in the computer, checks the result, renders previews and publishes the exports as files. Same body and answer as POST /v1/computers/{id}/build-3d.
A script that fails answers
ok: false with error: { message, line } and exits 1. For cad, STEP, STL and 3MF are published only when the solid is valid and watertight. There is no fee of its own: the build is billed as the computer’s running seconds.
fs
One command covers the whole filesystem surface. The operation comes first, then the computer:vetta computer fs <read|write|list|mkdir|remove> <computer-id> --path <path>.
write takes --content, and --encoding base64 carries bytes that are not text. remove and
mkdir take only --path. Passing the computer id where the operation belongs is a usage error, not
a request: