MCP Gateway
ApiSandbox settings

Get Sandbox Settings

Return the current sandbox configuration. Reads from DB first (admin-editable values), falls back to env vars for fields not yet set in DB. Also includes image state from DB.

GET
/api/v1/settings/sandbox

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/settings/sandbox"
{
  "provider_type": "docker",
  "warm_pool_enabled": true,
  "default_max_per_user": 0,
  "idle_timeout_seconds": 0,
  "stopped_retention_seconds": 0,
  "config_fallback_image": "string",
  "db_default_image": "string",
  "env_allowlist": [
    "string"
  ],
  "db_active_images": [
    "string"
  ],
  "k8s_namespace": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}