Get Metrics
Sandbox API
Get Metrics
Retrieve resource usage metrics for a sandbox.
GET
Get Metrics
Returns an array of recent resource-usage snapshots for the sandbox. Each entry
captures CPU utilisation, memory usage, and disk usage at a point in time.
Path Parameters
The sandbox identifier. Format:
sbx-<8 chars>.Response
Returns an array ofSandboxMetrics objects.
UTC timestamp of the measurement in ISO 8601 format.
CPU utilisation as a percentage (0–100).
Resident memory usage in megabytes.
Disk usage in megabytes.
Example
Response
Error Responses
| Status | Cause |
|---|---|
401 | Missing or invalid API key |
404 | Sandbox not found |