v5

latestOpenAPI 3.0.3raw.githubusercontent.com2026-07-01224150.1 KB
Observability

Get CPU / memory / network stats

Returns an average and a time-series of CPU%, memory%, and network bytes/sec for the requested lookback window. Server targets ~250 evenly spaced data points; step interval adjusts with hoursAgo.

get/sandboxes/{id}/stats

Path parameters

idstring required

24-char hex id of the sandbox.

Query parameters

hoursAgointeger

Lookback window in hours.

Response

Stats payload

messagestring required

Example response

{
  "message": "Sandbox stats fetched"
}