Skip to content

Usage

Monitor your resource consumption, active sites, and deployment activity using leaf usage.

Run leaf usage:

Terminal window
leaf usage

Output:

2 sites · 1482010 / 1073741824 bytes · 5 deploys today

The 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.

With --json:

Terminal window
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.