MCP Gateway
ApiAdmin sandboxes

Get User Quota

Get per-user quota (returns defaults if no custom quota).

GET
/api/v1/admin/sandboxes/quotas/{user_id}

Authorization

User API Key
AuthorizationBearer <token>

User API key (mgw_usr_live_* or mgw_usr_test_*)

In: header

Path Parameters

user_id*string
Formatuuid
access_token?|

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/admin/sandboxes/quotas/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "user_id": "string",
  "max_sandboxes": 5,
  "max_memory_mb": 2048,
  "max_cpu_cores": 4,
  "max_exec_per_day": 0,
  "is_custom": false
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}