Run From The CLI
run when you want to wait for completion and spawn when you want a
detached run record to poll or stream later.
--follow on run to fetch the first log page after creation, --detach
to make run behave like spawn, and --idempotency-key when retrying a
client request.
Run From SDKs
Language is an invocation detail; the Function remains the same named platform primitive.- Python
- TypeScript
Outputs And Debugging
Declare output files or directories infunction.py with
nullspace.Outputs(paths=[...]). After the run exits, use
functions outputs or the SDK to read output metadata. The output manifest is
produced by the function runtime and should be treated as application-owned
data.
For failed runs, enable retain_on_failure or
nullspace.Debug(retain_on_failure=True). Retained backing machines can be
opened with commands, files, PTY, SSH, or desktop access for debugging.
Related examples: Function Job,
TypeScript Function Job, and
Machine And Function Composition.