What You’ll Learn
- Listing every volume owned by the caller
- Inspecting per-volume metadata (size, content type, creation time)
- Deleting a single volume (blob + metadata row)
Prerequisites
Listing
Fetching One
NotFoundException (Python) / NotFoundError (TypeScript) on an unknown or non-owned volume ID.
Deleting
Sandbox.create(volumes=[...]) calls referencing that volume_id will fail with 403.
Housekeeping Pattern
Delete every volume whose name matches a prefix and was created more than 7 days ago:Phase 1 Limits
- There is no bulk-delete endpoint; loop over
Volumes.list()and call.delete()per item. - Deletion is not transactional with in-flight
Sandbox.createcalls. A volume referenced by a not-yet-dispatched create can be deleted between validation and dispatch; the create then fails.