---
title: "List every live sandbox on one node, from all owners. Admin only: it exposes other users' sandboxes."
method: GET
path: "/v1/sandboxes/placement/nodes/{node}"
tags: ["Sandboxes"]
---

# List every live sandbox on one node, from all owners. Admin only: it exposes other users' sandboxes.

`GET /v1/sandboxes/placement/nodes/{node}`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/v1/sandboxes/placement/nodes/{node}`
- Auth: HTTP bearer

## Path parameters

- `node` string, required

## Query parameters

- `page` integer, nullable
- `page_size` integer, nullable

## Response `200`

Sandboxes on the node

- NodeSandboxesResponse: `GET /v1/sandboxes/placement/nodes/{node}` — every live sandbox on one node, whoever owns it.
  - `node` PlacementNode, required: One row of `GET /sandboxes/placement`.
    - `allowed` boolean, required: Allowed by the operator's sandbox placement settings.
    - `backends` NodeBackend[]: Every backend a sandbox can ask for, and whether this node can run it. A node that cannot says why, so a client can show the choice and its fix rather than hide it.
      - `available` boolean, required
      - `backend` 'docker' | 'firecracker' | 'microsandbox' | 'local', required: Which isolation backend a sandbox runs on (ADR-029, ADR-050). Docker containers, Firecracker microVMs and microsandbox (libkrun) microVMs coexist on the same host behind the same `SandboxProvider` seam; `routing::RoutingSandboxProvider` dispatches between them. `Local` is the dev-only fork-exec fallback.
      - `reason` string, nullable: Why the node cannot run it, and how to fix that when it can be fixed.
    - `dedicated` boolean: Labelled `temps.sh/role=dedicated`: automatic placement never picks it, but a sandbox that requests it by id or name may still run there when it is `eligible`. Always `false` for the control plane.
    - `eligible` boolean, required: Can take a new sandbox right now (allowed and active).
    - `id` integer, required: Node id; `0` for the control plane.
    - `is_control_plane` boolean, required
    - `live_sandboxes` integer, required: Sandboxes currently hosted on the node (not destroyed).
    - `name` string, required
    - `reason` string, nullable: Why the node is not eligible, when it isn't.
    - `status` string, required: Node status (`active`, `offline`, `draining`, …). Always `active` for the control plane.
  - `page` integer, required
  - `page_size` integer, required
  - `sandboxes` NodeSandboxEntry[], required: One page, newest first.
    - `owner_email` string, nullable: Owner's email, when the owner is a user that still exists.
    - `owner_user_id` integer, nullable
    - `sandbox` SandboxInner, required: Inner `sandbox` object in `@vercel/sandbox` responses. Strict shape — the SDK's zod validator rejects missing required fields.
      - `agent_run_id` integer, nullable: Agent run this sandbox executes (autofixer / workflow agent). `None` for sandboxes created via this API.
      - `allow_docker` boolean, required: Normal guest-root semantics enabled for Docker (microsandbox only).
      - `backend` string, nullable: Isolation backend: "docker" | "firecracker" | "microsandbox". `None` on legacy rows created before the backend was recorded.
      - `createdAt` integer, required
      - `cwd` string, required
      - `disk_size_mb` integer, nullable: Configured root disk size in MB (Firecracker). `None` when unknown or the default.
      - `egress_policy` SandboxEgressPolicy, required: Which outside destinations the sandbox may reach (temps-native).
        - `mode` 'internet' | 'restricted': How a sandbox may reach the outside world.
        - `rules` EgressRule[]: Allowed destinations, in `restricted` mode. At most 100.
          - `cidr` string, nullable: An IPv4 or IPv6 address or CIDR block (`198.51.100.7`, `2606:4700::/32`), matched against a literal IP the sandbox asked for or the address a hostname resolved to.
          - `host` string, nullable: A hostname, matched case-insensitively against the name the sandbox asked for (`api.example.com`). A leading `*.` matches subdomains only: `*.example.com` matches `a.example.com` and `a.b.example.com`, never `example.com` itself.
          - `ports` integer[]: Destination ports this rule permits, 1-65535. Empty means 80 and 443.
      - `id` string, required
      - `image` string, nullable
      - `lifecycle` string, required: Lifecycle class (ADR-036): `"ephemeral"` or `"workspace"`. Always present — a client that doesn't know about workspaces sees `"ephemeral"` and behaves exactly as before.
      - `memory` integer, required
      - `name` string, required
      - `node_id` integer, nullable: Worker node hosting the sandbox (ADR-048). `null` = the control plane.
      - `node_name` string, required: Name of the hosting node; `"control-plane"` for control-plane sandboxes.
      - `preview_access` 'temps_login' | 'password' | 'public', required: Who may open the preview URLs: `temps_login` (a signed-in Temps user who may read this sandbox; the default), `password` (whoever knows the preview password) or `public` (anyone).
      - `preview_allowed_cidrs` string[], required: Client networks allowed to open the preview URLs, as normalised CIDRs. Checked before `preview_access`; empty = any address.
      - `preview_password_hint` string, nullable
      - `preview_url_template` string, required
      - `project_id` integer, nullable: Project this sandbox was created from, when created from one.
      - `region` string, required
      - `requestedAt` integer, required: Creation time as Unix epoch milliseconds.
      - `runtime` string, required
      - `source_repo_url` string, nullable: Repo the work dir was seeded from. Never carries credentials.
      - `status` string, required
      - `timeout` integer, required: Idle timeout in milliseconds (SDK convention).
      - `updatedAt` integer, required
      - `vcpus` number, double, required
  - `total` integer, required: Every live sandbox on the node, across all pages.

## Other responses

- `401`: Unauthorized
- `403`: Administrator role required
- `404`: No such node

## Changes

- **2026-10-28** `b8d51a990805`: 4 info
  - added the optional property `node/backends` to the response with the `200` status
  - added the required property `sandboxes/items/sandbox/egress_policy` to the response with the `200` status
  - added the required property `sandboxes/items/sandbox/preview_access` to the response with the `200` status
  - added the required property `sandboxes/items/sandbox/preview_allowed_cidrs` to the response with the `200` status
- **2026-10-14** `4ddae13b7241`: 1 info
  - added the required property `sandboxes/items/sandbox/allow_docker` to the response with the `200` status
- **2026-10-09** `a2e5a08b4347`: 1 info
  - added the optional property `node/dedicated` to the response with the `200` status
- **2026-10-05** `4b228ebed583`: 1 info
  - endpoint added
- **2026-10-05** `63a80791dc58`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/v1/sandboxes/placement/nodes/:node/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
