godo.HostedAgents.ListSandboxSizes()
Generated on 5 Nov 2026
from godo version
v1.236.0
Usage
client.HostedAgents.ListSandboxSizes(ctx context.Context) (*godo.HostedAgentSandboxSizesResponse, *godo.Response, error)Description
ListSandboxSizes returns the customer-selectable sandbox (microVM) size
catalog. The set is the single source of truth shared with create-time
validation; every returned slug is accepted as spec.sandbox.sizeSlug.
Sizes are ordered smallest-to-largest. The catalog is static and independent
of team/session; there is no pagination.
Returns
- *godo.HostedAgentSandboxSizesResponse
- *godo.Response
The HTTP response, with pagination
Links,Meta, andRatelimit information.- error
Non-nil when the request fails. API errors are returned as
*godo.ErrorResponse.
Fields of godo.HostedAgentSandboxSizesResponse
HostedAgentSandboxSizesResponse is returned by ListSandboxSizes.
Sizes[]godo.HostedAgentSandboxSizeSizesis ordered smallest-to-largest.
Request Sample
More Information
See the Go package documentation for the source of this method.