MCP Gateway
ApiAdmin sandboxes

Get Sandbox Stats

Get aggregate sandbox counts and resource totals.

GET
/api/v1/admin/sandboxes/stats

Authorization

User API Key
AuthorizationBearer <token>

User API key (mgw_usr_live_* or mgw_usr_test_*)

In: header

access_token?|

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/admin/sandboxes/stats"
{
  "total": 0,
  "running": 0,
  "stopped": 0,
  "archived": 0,
  "destroyed": 0,
  "total_memory_mb": 0,
  "total_cpu_cores": 0
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}