Select an exact template version
In Sandboxes → Templates & images, inspect:- active and previous immutable versions;
- image reference and
sha256digest; - source revision and build provenance when visible to your role;
- architecture and required supervisor protocol;
- vulnerability/malware scan result and policy decision;
- CycloneDX SBOM and its ETag;
- deprecation, blocked, or activation status;
- warm-pool eligibility and observed readiness.
GET /api/v1/template-versionsandGET /api/v1/template-versions/{versionId};GET /api/v1/template-versions/{versionId}/sbom;POST /api/v1/template-versions/{versionId}/activate;GET|POST /api/v1/template-buildsandGET /api/v1/template-builds/{buildId}.
after_sequence to receive ordered stage/log updates. Activation changes which immutable version is current; it does not mutate history.
Use admission preflight
The creation wizard callsPOST /api/v1/sandboxes/admission-preflight before create. Submit the intended normalized specification and review the returned effective request, policy changes, quota impact, and capability decisions.
Preflight answers four different questions:
- Is the caller authorized for this profile, image, resource size, network mode, secrets, and volumes?
- Does the account have quota for total/running sandboxes, CPU, memory, disk, snapshots, executions, egress, TTL, and profile access?
- Does the configured server report compatible Kata, supervisor, storage, snapshot, networking, image, and architecture capabilities?
- Can current reservable capacity satisfy the request without unsafe overcommit?
Understand single-server capacity
StackShift currently admits sandboxes to one configured deployment server. There is no public region, zone, node, or deployment-target selector and no cross-region migration/failover claim. The platform evaluates server heartbeat, drain/maintenance state, allocatable and reserved CPU/memory/PIDs/disk, storage backend, cached image/snapshot digests, and required policy features. A transactional reservation prevents concurrent creates from overcommitting the same capacity. Reservations release on sleep, destroy, failed provisioning, or expired provisioning lease.capacity_unavailable and deployment_server_unavailable are operational conditions, not quota failures. Retry only when the error says it is retryable and use backoff with the same idempotency key.
Read quota failures
Aquota_exceeded error includes:
Warm starts
Warm-pool entries are prebooted from qualified immutable template versions and sanitized before assignment. Allocation still creates a new tenant-owned sandbox resource, applies its current policy/secrets/volumes, and records the same durable operation and audit trail. Warm availability is an optimization, not a lifecycle guarantee; clients must tolerate cold provisioning.Dashboard state
The Fleet summary shows timestamped counts, requested resources, storage, quota pressure, and server availability only when backed by aggregate endpoints. Filters and cursor pagination are server-owned. Capability messages explain whether an action is forbidden, plan-limited, quota-limited, capacity-limited, unsupported, unhealthy, or invalid for current state.Sandbox overview
Create and operate a sandbox.
Troubleshooting
Handle admission and capability errors.