---
title: "Effective resource defaults and input ceilings for the requested placement."
method: GET
path: "/v1/sandboxes/resource-defaults"
tags: ["Sandboxes"]
---

# Effective resource defaults and input ceilings for the requested placement.

`GET /v1/sandboxes/resource-defaults`

## Request

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

## Query parameters

- `node` string, nullable
- `backend` 'docker' | 'firecracker' | 'microsandbox' | 'local', nullable: 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.

## Response `200`

Effective sandbox defaults

- SandboxResourceHints
  - `agent_cpu` number, double, required: Configured agent-run defaults bounded by the host. Agent runs are exempt from the ceilings on sandbox API requests.
  - `agent_memory_mb` integer, required
  - `cpu` number, double, nullable
  - `host_cpu_cores` number, double, nullable
  - `host_memory_mb` integer, nullable
  - `max_cpu` number, double, required
  - `max_memory_mb` integer, required
  - `max_pids` integer, required
  - `max_timeout_secs` integer, required
  - `memory_mb` integer, nullable
  - `node_id` integer, nullable
  - `pids` integer, nullable
  - `timeout_secs` integer, required

## Other responses

- `400`: Invalid placement or backend
- `401`: Unauthorized
- `403`: Insufficient permissions
- `422`: No eligible placement
- `500`: Could not load sandbox settings
- `503`: Host unavailable

## Changes

- **2026-11-20** `e9e929961b13`: 2 info
  - added the required property `agent_cpu` to the response with the `200` status
  - added the required property `agent_memory_mb` to the response with the `200` status
- **2026-11-20** `f71460bccb8d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/v1/sandboxes/resource-defaults/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)
