Skip to main content
These commands do from the terminal what the console’s settings pages do. Changing them needs an owner or admin unless a section says otherwise. Secret values, such as an AI provider key, a Slack URL or a collector header, are read from stdin or asked for at a prompt that does not echo. They never go on the command line.

zode workspace

zode org works too. zode workspace prints the workspace’s name and id, its plan, your role and the member count, the billing email, whether new sandboxes start with the browser and desktop on, and how many sandboxes are running against the plan’s limit. set prints workspace updated. With no flag it changes nothing.

zode audit

The workspace’s audit log, newest first. Owners and admins can read it.
When there are older events, the last line says how to read them: older: zode audit --before 8790.

zode billing

Read only, for owners, admins and the billing role. It shows the plan and any trial, the plan’s limits, this month’s billable usage (compute, storage, static IP) and AI spend, the invoice estimate, credit, whether a card is on file, the daily and per-sandbox caps, and the billing email. invoices lists each invoice’s number, period, total, status and link. Change the plan, card, caps and top-ups in the console under Billing.

zode agent

Your own coding agent settings: which agent zode prompt runs, its model, and how it signs in. These belong to you, not the workspace. zode agents works too. Background: Agents.
An <agent> is claude-code, codex, opencode, pi or kimi-code. Subscriptions are for claude-code (Claude) and codex (ChatGPT).
  • key set and sub set claude-code read the key or token from stdin, or ask for it without echo.
  • sub set codex reads ~/.codex/auth.json, or the file in --auth-file (at most 64 KB). Sign in with codex login --device-auth first.
  • sub sign-in runs the agent’s own sign-in in a sandbox, a throwaway one unless you name one with --sandbox. It prints a page to open, and for Claude asks for the code that page shows, then prints claude-code now runs on your subscription.
Sandboxes never see these keys or tokens. zode ai-key is the workspace’s keys for the proxy, not yours.

zode token

API keys for CI and scripts. Use one as ZODE_TOKEN=... zode ls.
rm revokes the key at once. If two keys share a name, it asks for the tok_ id. zode tokens, zode key and zode keys work too.

zode team

People in the workspace and open invites.
Roles are owner, admin, billing and member.

zode ai-key

Your own AI provider keys, which the AI proxy adds to sandboxes’ AI calls. Sandboxes never see them. See Agents.
zode ai-key ls prints PROVIDER, the failover position, label, the last four characters of the key, and its id. To change the failover order, use the console or POST /v1/proxying/keys/order.

zode webhook

Workspace events sent to your own URL, signed. See Webhooks.
zode webhook ls shows each endpoint’s URL, events, state (on, off with the reason, or failing since ...) and id. zode webhook events marks types that are not sent yet with (not sent yet). zode webhooks works too.

zode alert

Alerts to email, Slack, Discord, Telegram or your own webhook. A channel is where a message goes; a rule sends one event type to channels. See Alerts.
A Slack, Discord or webhook URL left out of --url is read from stdin or asked for, and so is a Telegram bot token. A webhook channel prints its signing secret once.
zode alert events marks critical types with (critical). zode alerts works too, and --channels for --channel.

zode otel

Export sandbox metrics, traces and logs to your OpenTelemetry collector. See OpenTelemetry.
Each --header NAME asks for that header’s value, one by one, or reads it from stdin.
zode otel with no subcommand shows the endpoint, protocol, state, header names, the last export and the last error.

zode sg

Security groups: what a sandbox may reach and be reached from. Read Networking first.
A <group> is its name or sg_ id. Each environment has its own groups, so when two share a name, use the id. A RULE is PROTOCOL[:PORTS]@TARGET:
zode sg rules replaces only the directions you pass. zode security-group and zode security-groups work too.