api_key= and base_url= arguments. If those
are omitted, the SDK and CLI use the same file and environment lookup order:
- Environment variables:
NULLSPACE_API_KEY,NULLSPACE_API_URL, thenNULLSPACE_BASE_URL - Project
.envin the current working directory ~/.config/nullspace/config.json- Legacy
~/.nullspace/config.json - Built-in API URL default:
http://localhost:3000
.env:
api_url as an alias for base_url.
nullspace auth login --api-url https://api.13-215-85-171.sslip.io writes the
legacy config path for backward compatibility and saves base_url with the API
key. New automation can prefer environment variables or
~/.config/nullspace/config.json.
Run nullspace auth status to see the resolved API URL, which source won the
lookup, and a sha256: key fingerprint (the key itself is never printed).
Use NULLSPACE_API_URL for SDK and CLI clients. VITE_NULLSPACE_API_BASE is
only read by the Vite console at build time.