admin

Count running sandboxes by team

Changed on

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

get/admin/sandboxes/running-counts

Request

  • Base URL
    https://api.e2b.app
  • URL
    https://api.e2b.app/admin/sandboxes/running-counts
  • Auth
    • API key in header X-Admin-Token
    • or HTTP bearer

Response

Running sandbox counts keyed by team ID

AdminTeamRunningSandboxCounts required

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

Changes