demo-sandbox, to your Personal vault. Use it to see OneCLI work before you connect an agent of your own.
The demo sandbox is a preview on OneCLI Cloud. It may change or be removed. Each person gets one, once. Self-hosted OneCLI does not offer it.
onecli 3.4 or later, signed in with onecli login. onecli demo open needs 3.5 or later. See the Quickstart for both.
Start the sandbox
ends_at. Then it is deleted and its agent disconnected. onecli demo status shows the same answer at any time.
If it does not start
The command answers with an errorcode:
A box that never connected does not use up your one sandbox.
Prove the gateway adds the key
onecli demo run runs one shell command in the box and prints its output. Pass the command as one quoted string. Run the same call twice.
First around OneCLI, with no credential. The server refuses it with 401:
sh -lc) reads the proxy settings that connecting wrote in the box:
401, your vault has no Test key, which is normal for an account made before the Test key existed. Add an item to the vault in the dashboard and call its API instead.
onecli demo run has these limits:
- A command is at most 4,000 characters.
- A command still running after 45 seconds is stopped, and exits
124. stdoutandstderrare each cut at 64 KB.truncatedis thentrue.onecli demo runexits with the command’s own exit code.
--json, it prints the JSON above.
Open the desktop
onecli prints it only when it did not open a browser. Add --no-open to print it instead. Don’t share it.
End the sandbox
Commands
start, open and end take --dry-run. A command with no running sandbox answers NO_DEMO_SANDBOX. See the CLI reference.