Get the current sandbox fleet observation
Read active sandbox counts and configured vCPUs for your organization, with observation timestamps and host coverage. Returns the organization's active sandbox sessions and their configured vCPUs from fresh host observations. Active sessions include paused sessions; these counts do not describe currently executing commands or physically reserved CPU. Incomplete observations identify the reporting and expected host counts. Availability is enabled per organization; unavailable organizations receive 404.
Required permission
Requires the sandboxes.read permission. See Permissions for the roles and API key permissions that include it.
apiKeyAuthorizationBearer <token>OpenRelay API key. Send it as Authorization: Bearer or_… (legacy vl_… keys still work).
Cached fleet observation
application/json- response
A cached observation of open sandbox sessions, including paused sessions. No guest is awakened by this read.
observedAt*stringOldest contributing host observation in RFC3339 UTC, or empty when no configured host is fresh.
activeSandboxes*integerint640 <= valueconfiguredVcpus*integerint640 <= valuehostsReporting*integer0 <= valuehostsExpected*integer0 <= valuecomplete*booleanTrue only when every configured host has a fresh observation.
curl -X GET 'https://api.openrelay.inc/v1/sandbox-monitoring/current'{ "observedAt": "string", "activeSandboxes": 0, "configuredVcpus": 0, "hostsReporting": 0, "hostsExpected": 0, "complete": true}Replace an API key's sandbox network policy PUT
Replaces an API key's layer over the version the policy was read at. A key may only narrow it, its own or another key's. Network policy access must be enabled for the organization. Host egress, DNS and bandwidth enforcement is not yet available. Creates requiring an unsupported restriction return 503 NETWORK_POLICY_UNSUPPORTED. Only the organization layer's preview source restrictions are enforced. Host policy updates are not pushed to running sandboxes. The router applies updated organization preview restrictions on each new request, including previews of existing sandboxes, after receiving the new policy version.
Overview
Prepaid balance, saved cards, deposits, and auto-recharge: read the balance and recent transactions, save or remove cards, and top up from a saved card.