MCPcopy Create free account
hub / github.com/OpenHands/OpenHands / listSandboxSizes

Function listSandboxSizes

scripts/mars-api.mjs:277–280  ·  view source on GitHub ↗

* Sandbox sizes a manifest's `size` may name, smallest first. Each is * `{slug, vcpus, memory_mb, price_per_hour_usd, price_per_month_usd}`.

()

Source from the content-addressed store, hash-verified

275 * `{slug, vcpus, memory_mb, price_per_hour_usd, price_per_month_usd}`.
276 */
277 async listSandboxSizes() {
278 const body = await request("GET", `${SESSIONS_PATH}/sandbox/sizes`);
279 return body?.sizes ?? [];
280 },
281
282 /**
283 * Launch a new session from an existing Agent Config. The config already

Callers

nothing calls this directly

Calls 1

requestFunction · 0.70

Tested by

no test coverage detected