Skip to main content

CloudBlast CLI

The cloudblast CLI wraps the full CloudBlast API v2: servers, workers, AI sandboxes, backups, IPs and security groups. Everything you can do in the console or through the API, you can do from your terminal or scripts. All output is JSON, so it composes with jq and works well in automation and cron jobs.

Installation

Or run without installing:
The workers and sandboxes commands need version 1.1.0 or later. Check yours with cloudblast --version.

Authentication

Get an API token from Account Settings, then export it:
You can also pass --token your-api-token on any command.

Quick Examples

Command Reference

Account

Plans & Locations

SSH Keys

Servers

Server IPs

Backups

Security Groups (Firewall)

Workers

Options for workers create and workers update (update takes them all except --location):

Sandboxes

AI sandboxes are Linux and Windows VMs for AI agents. See the Sandboxes guide for how they work and what they cost. Options for sandboxes create: Options for sandboxes computer, by action: Pictures always go to a file: the CLI never prints base64.

Destructive Operations

Commands that destroy data refuse to run without the --yes (-y) flag, so scripts must opt in explicitly. They are servers delete, servers reinstall, backups restore, backups delete, workers delete and sandboxes destroy.

Scripting

Every command prints JSON and exits non-zero on failure:
A sandbox from start to finish: