Resources

Templates, volumes, networks, and SSH keys

Manage the resources sandboxes depend on.

Templates are read-only through the public API. List or fetch a template to discover its image, CPU, memory, machine kind, and declared ingress. Global templates are visible to all organizations. Organization templates are visible only to their organization.

Volumes are persistent organization resources with a name, region, and size in GB. Networks are organization-scoped logical networks that can be attached to sandboxes with networkId. Both resources use cursor pagination and require ORG_MANAGE.

SSH keys are user resources. Register a public key before creating a sandbox, then use sandbox SSH-key sync after changing the account key set. The sandbox detail includes the SSH service once its runtime is ready.

terminal
1GET    /public/templates2GET    /public/templates/:templateId3POST   /public/volumes4GET    /public/volumes?limit=20&cursor=...5GET    /public/volumes/:volumeId6DELETE /public/volumes/:volumeId7POST   /public/networks8GET    /public/networks?limit=20&cursor=...9GET    /public/networks/:networkId10DELETE /public/networks/:networkId11GET    /public/ssh-keys12POST   /public/ssh-keys13DELETE /public/ssh-keys/:keyId