CLI: Pods & Lifecycle
List, filter, and inspect Pods, check live metrics and transactions, and stop, start, restart, or delete Pods via the meshive CLI.
Inspecting Pods, live metrics, pod transactions, and stop/start/restart/delete lifecycle commands in the meshive CLI. See CLI Overview & Options for global flags, Pod Create & Update for creating and editing Pods, and Ports, SSH & Exec for locked ports, port forwarding, SSH, watched folders, command execution, and logs.
meshive pods
Section titled “meshive pods”Lists pods in a workspace, or across all workspaces with --all.
meshive pods <workspace> # one workspace (by ID)meshive pods --all # every workspace (adds a WORKSPACE column)Columns: NAME, ID, (WORKSPACE with --all), STATUS, RENTAL, PRICE/HR, CREATED. Price is shown only for running pods (stopped/waiting pods aren’t billed).
Filters
Section titled “Filters”Filtering is client-side — the API returns the full list and the CLI narrows it.
| Flag | Description |
|---|---|
--status | Filter by status. Repeatable or comma-separated, e.g. --status running,error. |
--rental | spot or demand. |
--name | Substring match on the display name (alias). |
meshive pods <workspace> --status runningmeshive pods <workspace> --status running,error # comma-separated…meshive pods <workspace> --status running --status error # …or repeatedmeshive pods <workspace> --rental spotmeshive pods <workspace> --name llamaValid pod statuses (an unknown value is rejected with the list, rather than silently returning nothing):
pending creating running waiting stoppingstopped error unreachable terminating terminatedmeshive pod
Section titled “meshive pod”Shows a single pod in detail.
meshive pod <workspace> <pod>Both arguments are IDs — the workspace’s namespace name and the pod’s name (the ID column from meshive pods), not the display aliases. Output includes name, id, workspace, status, rental, price/hr, created time, and a maintenance notice when the pod is under maintenance. Resources on a machine with an open maintenance window aren’t billed.
It also lists the pod’s URLs (ENDPOINT, PORT, ACCESS, URL, STATE) and the logins the console shows on Connect (CREDENTIAL, VALUE), such as the ACCESS_PASSWORD a ComfyUI pod generates. Secret values are hidden unless you add --show-secrets:
meshive pod <workspace> <pod> --show-secretsSecret values come back only to an API key with write scope; a read-only key gets ***, and the CLI says so.
ACCESS (1.10 or later) is Internal (reachable only from the workspace), Locked (workspace members in the browser and programs with an access key) or Unlocked (anyone with the URL). See Locked ports.
When they apply, it also says that the system stopped the pod and why, why the pod can’t start on its original machine now, and what a waiting pod is waiting for. -o json prints the API payload as your key receives it: secret variables are ***, except the Connect logins a key with write scope gets.
meshive pod-metrics
Section titled “meshive pod-metrics”Shows a pod’s live resource usage: CPU cores and usage, RAM size and usage, each GPU’s core and VRAM usage and temperature, and ephemeral disk usage.
meshive pod-metrics <workspace> <pod>A usage shows as n/a when the measurement is not available (for example right after start). A pod that has not been placed on a machine yet has no metrics and the command fails with an explanation.
meshive transactions
Section titled “meshive transactions”Shows the pod operations still in flight in a workspace — the way to see why a pod is still creating. Alias txn.
meshive transactions <workspace>Columns: POD, TXN (the transaction ID a write command printed), ACTION (create, start, stop, restart, …), STATUS, STEP (the current stage), PROGRESS, DETAIL (the failure reason when one is known) and UPDATED. A pod that stays creating is usually pulling its image, not stuck. PROGRESS is shown for stages that report it — image pull, asset fetch and storage preparation — and is - when the stage reports none, which does not mean 0%. Finished operations drop off the list, and a failed one stays for only a few minutes, so an empty result means nothing is in flight, not that nothing failed; check the pod’s own status, or look the operation up with meshive transaction. -o json returns every step with its diagnostics.
PROGRESS names the pause when downloaded bytes stop moving (verifying, waiting for storage), and when an input asset download fails the command prints the last 10 lines of that download container’s log under the table.
meshive transaction
Section titled “meshive transaction”Shows one pod operation by its transaction ID — the one pod-create or another pod write command printed, or the TXN column of meshive transactions. There is no time limit, so it also shows operations that finished or failed long ago.
meshive transaction <workspace> <id>The output gives the pod, the action, the status, the current step with its progress and, for a failed operation, the reason — the step it failed at and why, such as an image that can’t be pulled. A table of every step (STEP, STATUS, DETAIL, UPDATED) follows, and when an input asset download failed, the end of that download container’s log. -o json returns the full operation.
meshive pod-stop, pod-start, pod-restart, pod-delete
Section titled “meshive pod-stop, pod-start, pod-restart, pod-delete”meshive pod-stop <workspace> <pod>meshive pod-start <workspace> <pod> [--placement <placement>] [--any-node] [--allow-data-loss] [-y]meshive pod-restart <workspace> <pod>meshive pod-delete <workspace> <pod> [--delete-local-storage <storage> ...] [-y]-
stop scales the pod to zero. Pod billing stops; attached storage keeps being billed (except on a machine with an open maintenance window).
-
start resumes a stopped pod.
--placementchooses where:Placement Starts the pod same_nodeOn its original machine. any_nodeOn any machine with room. --any-nodeis short for this.wait_same_nodeOn its original machine; if it has no room yet, the pod stays waitingand starts by itself once it does.wait_any_nodeOn any machine; if none has room yet, the pod stays waitingand starts by itself once one does.Without
--placementor--any-node, the server picks what the console’s Start button would:wait_any_nodefor a pod already waiting for any machine;any_node— orwait_any_nodeif no machine has room right now — when the pod can no longer run on its original machine; otherwisesame_node, orwait_same_nodeif its original machine has no room right now. The output’splacement:row shows which one was used, and a waiting placement adds a note that the pod starts once a machine has room. Before 1.1 the default was alwayssame_node; pass--placement same_nodeto keep that.Use
--any-nodeor--placement, not both with different values.any_nodeandwait_any_nodecan move the pod to another machine, which can permanently delete unpreserved workspace files; local volumes stay behind on the old machine. Billing confirmation is separate from data loss consent. When loss is possible or unknown, interactive use asks a second question; unattended use requires both--yesand--allow-data-loss, otherwise it exits2without starting the pod. If the server’s own pick would move a pod with unpreserved workspace files, nothing starts either: the command prints the loss warning, names the placement and exits2. To consent, run it again with--placement <that placement> --allow-data-loss(plus--yeswhen unattended). -
delete removes the pod. Network storage survives; local (
hostPath) volumes are deleted only when named with--delete-local-storage.