Skip to content

avr builder

Manage remote builder sessions.

Terminal window
avr builder [OPTIONS] COMMAND [ARGS]...

Builder sessions are the ephemeral VMs behind avr build. avr build normally creates and deletes its own, but a crashed client leaves its session running until the TTL expires — list finds those, stop reclaims them (and their quota) immediately.

List builder sessions, newest first.

Terminal window
avr builder list [OPTIONS]

Sessions are never hard-deleted, so terminal (STOPPED/FAILED) sessions keep appearing here; filter with --state RUNNING to see only live ones. Non-admin members see only their own sessions.

Terminal window
Examples:
avr builder list
avr builder list --state RUNNING
avr builder list --json builder_session_id,state,stop_at
Terminal window
JSON FIELDS
builder_session_id, cpu_count, created_at, disk_gb, memory_mb, platform,
repository_full_name, state, state_reason, stop_at, updated_at

Options

  • --org, -o <TEXT> — Organization ID or slug. Uses default org if not specified (see: avr config set org).
  • --state <CHOICE> — Filter by state. (choices: PENDING, STARTING, RUNNING, STOPPING, STOPPED, FAILED)
  • -L, --limit <INTEGER RANGE> — Max sessions. (default: 50)
  • --cursor <TEXT> — Pagination cursor from a previous response.
  • --json <TEXT> — Output JSON. Pass comma-separated field names, "*" for all fields, or "?" to list available fields.
  • -q, --jq <TEXT> — Filter --json output through a jq expression.

Stop a builder session, reclaiming its VM and quota slot.

Terminal window
avr builder stop [OPTIONS] SESSION_ID

Asynchronous while the VM is live: the session shows STOPPING until the node confirms teardown. Stopping is idempotent — repeating it on an already-stopped session succeeds.

Arguments

  • SESSION_ID

Options

  • --org, -o <TEXT> — Organization ID or slug. Uses default org if not specified (see: avr config set org).
  • --yes, -y — Skip the confirmation prompt.
  • --json — Emit the raw API response as JSON.