admin
Count running sandboxes by team
Changed onReturns 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 URLhttps://api.e2b.app
- URLhttps://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
Admin Team Running Sandbox Counts 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
- info
added the non-success response with the status
- info
- info
the endpoint scheme security
AdminJWTAuthwas added to the API
- info