Skip to main content
Storage reporting and cleanup are local-only. See storage commands for what is measured and what cleanup removes. Storage accounting and pruning are available through TypeScript, Rust, Python, and Go. Ruby does not expose these APIs.

Inspect usage and preview cleanup

SDK pruning is explicit and has no interactive confirmation. Preview the cleanup before removing files:
The SDKs expose aggregate reports and ownership checks. Prune reports retain per-file errors alongside successful removals; inspect the report’s entries.
Object methods retain the backend captured by their handles. Per-object storage measures managed files and describes exclusions. Exact attribution of shared RAM to individual sandboxes is not currently available; aggregate memory accounting reports whether pins or handoffs retain it.