Skip to main content
GET
Return an in-guest resource-usage snapshot for a running computer.

Authorizations

Authorization
string
header
required

Vers API key (VERS_API_KEY) sent as Authorization: Bearer <key>.

Path Parameters

computer_id
string<uuid>
required

Computer identity

Response

Resource usage snapshot

Response body for GET /api/v2/computers/{computer_id}/stats.

A point-in-time snapshot of resource usage inside the guest, read from /proc/{meminfo,stat,loadavg,uptime} by the chelsea-agent. CPU times are cumulative tick counters since boot — sample twice dt apart and diff to derive utilization.

cpu
object
required

CPU tick counters (parsed from /proc/stat).

load_avg
object
required

Load averages (parsed from /proc/loadavg).

memory
object
required

Memory usage (parsed from /proc/meminfo, values in KiB).

timestamp
string
required

RFC-3339 wall-clock timestamp captured by the agent when the snapshot was taken.

uptime_secs
number<double>
required

Seconds since the guest booted (/proc/uptime). OTel: system.uptime.