Skip to main content
GET
Get sandbox metrics

Authorizations

Authorization
string
header
required

Personal access token (msb_pat_…) or session JWT - the credential an agent acts with on a user's behalf.

Path Parameters

slug
string
required

Organization slug

sandbox_id
string<uuid>
required

Sandbox ID

Query Parameters

range_secs
integer<int64> | null

Look-back window in seconds (default 3600 = 1h, max 604800 = 7d).

Required range: x >= 0
step_secs
integer<int64> | null

Sample resolution in seconds (default 30, min 5).

Required range: x >= 0

Response

Sandbox metrics

Per-sandbox metrics over a time range, keyed by metric (cpu, memory_bytes, net_rx_bytes_rate, …). See plans/monitoring-plan.md § B for the catalog.

metrics
object
required

Metric key → series. An empty series means "no data in range".

range
object
required

The resolved query window.

sandbox_id
string<uuid>
required

The sandbox these metrics belong to.