Get resource usage metrics for a specific Devbox. Returns CPU, memory, and disk consumption calculated from the Devbox’s lifecycle, excluding any suspended periods for CPU and memory. Disk usage includes the full elapsed time since storage is consumed even when suspended.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The Devbox ID.
OK
The devbox ID.
Total time in seconds the devbox was actively running (excludes time spent suspended).
Total elapsed time in seconds from devbox creation to now (or end time if terminated). Includes all time regardless of devbox state.
vCPU usage in vCPU-seconds (total_active_seconds multiplied by the number of vCPUs).
Memory usage in GB-seconds (total_active_seconds multiplied by memory in GB).
Disk usage in GB-seconds (total_elapsed_seconds multiplied by disk size in GB). Disk is billed for elapsed time since storage is consumed even when suspended.
The devbox creation time in milliseconds since epoch.
The current status of the devbox.
The devbox end time in milliseconds since epoch, or null if still running.