Usage
Monitor your resource consumption, active sites, and deployment activity using leaf usage.
Check account usage
Section titled “Check account usage”Run leaf usage:
leaf usageOutput:
2 sites · 1482010 / 1073741824 bytes · 5 deploys todayThe output shows:
- Active sites: The number of sites currently provisioned in your account.
- Storage: Total bytes consumed by retained static deployments versus your account storage quota.
- Deploys today: Number of deployment operations performed within the current 24-hour cycle.
Machine-readable usage output
Section titled “Machine-readable usage output”With --json:
leaf usage --json{ "schema": 1, "sites": 2, "storage_bytes": 1482010, "storage_limit": 1073741824, "deploys_today": 5}This structured output can be used by monitoring jobs to alert when storage limits are approaching.