The micro-VM for AI agents — light enough to embed on your laptop, elastic enough to power an agentic cloud.
// Copyright 2025 BoxLite AI (originally Daytona Platforms Inc.
// Modified by BoxLite AI, 2025-2026
// SPDX-License-Identifier: AGPL-3.0
package dto
type RunnerMetrics struct {
CurrentCpuLoadAverage float64 `json:"currentCpuLoadAverage"`
CurrentCpuUsagePercentage float64 `json:"currentCpuUsagePercentage"`
CurrentMemoryUsagePercentage float64 `json:"currentMemoryUsagePercentage"`
CurrentDiskUsagePercentage float64 `json:"currentDiskUsagePercentage"`
CurrentAllocatedCpu float64 `json:"currentAllocatedCpu"`
CurrentAllocatedMemoryGiB float64 `json:"currentAllocatedMemoryGiB"`
CurrentAllocatedDiskGiB float64 `json:"currentAllocatedDiskGiB"`
CurrentStartedBoxes int64 `json:"currentStartedBoxes"`
} // @name RunnerMetrics
type RunnerServiceInfo struct {
ServiceName string `json:"serviceName" validate:"required"`
Healthy bool `json:"healthy" validate:"required"`
ErrorReason *string `json:"errorReason,omitempty"`
} // @name RunnerServiceInfo
type RunnerInfoResponseDTO struct {
NestedVirtualizationEnabled bool `json:"nestedVirtualizationEnabled"`
ServiceHealth []*RunnerServiceInfo `json:"serviceHealth,omitempty"`
Metrics *RunnerMetrics `json:"metrics,omitempty"`
AppVersion string `json:"appVersion"`
SupportsPrivileged bool `json:"supportsPrivileged"`
} // @name RunnerInfoResponseDTO