Admin

Get cluster-wide sandbox statistics (admin)

GET
/admin/statistics/sandboxes

Authorization

AdminKeyAuth
AGENTBOX-API-KEY<token>

Admin-level API key. Same header as ApiKeyAuth but requires admin role.

In: header

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://admin/statistics/sandboxes"
{  "statistics": {    "total": 0,    "byStatus": {      "property1": 0,      "property2": 0    },    "byNamespace": {      "property1": 0,      "property2": 0    }  }}
{  "error": "string",  "errorCode": "API_KEY_REQUIRED",  "detail": null}
{  "error": "string",  "errorCode": "API_KEY_REQUIRED",  "detail": null}
{  "error": "string",  "errorCode": "API_KEY_REQUIRED",  "detail": null}