---
title: "Count running sandboxes by team"
method: GET
path: "/admin/sandboxes/running-counts"
tags: ["admin"]
---

# Count running sandboxes by team

`GET /admin/sandboxes/running-counts`

Returns a shared snapshot normally refreshed after five seconds. A
sandbox transitioning out of running can remain counted until removal.

## Response `200`

Running sandbox counts keyed by team ID

- AdminTeamRunningSandboxCounts — Cached live sandbox index count keyed by team ID. Counts may briefly include sandboxes transitioning out of running; teams without indexed sandboxes are omitted.

## Other responses

- `401` — Authentication error
- `500` — Server error

## Changes

- **2026-08-20** `e01b3f5506fe` — 2 info
  - added the optional property `error_code` to the response with the `401` status
  - added the optional property `error_code` to the response with the `500` status
- **2026-08-19** `a264494323e1` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/e2b-dev/apis/e2b-api/changes/admin/sandboxes/running-counts/get.md)

---

[API](https://skmtc.dev/e2b-dev/apis/e2b-api.md) · [All operations](https://skmtc.dev/e2b-dev/apis/e2b-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/e2b-dev/e2b-api/revisions/e01b3f5506fe/schema)
