# `smallforce calls stats`

Count calls per hour today, or per day over 7 or 30 days

This page is generated from the same Commander definition shipped in SmallForce CLI 0.1.13. Run `smallforce calls stats --help` locally to view the same reference for your installed version.

## Complete command help

```text
Usage: smallforce calls stats [options]

Count calls per hour today, or per day over 7 or 30 days

Options:
  --api-key <key>      SmallForce API key, or set SMALLFORCE_API_KEY
  --backend-url <url>  SmallForce backend URL, or set SMALLFORCE_BACKEND_URL
  --json               Print stable machine-readable JSON
  --text               Print human-readable text
  --format <format>    Output format: text or json
  --range <range>      today (per hour), 7d or 30d (per day); default today (choices: "today", "7d",
                       "30d")
  --time-zone <zone>   IANA time zone for the hours and days; default the business's own
  -h, --help           display help for command
```

## Related reference

- [`smallforce calls`](/docs/cli/commands/calls): Parent command and related operations.
- [CLI installation and authentication](/docs/cli/getting-started): Install the CLI and configure an API key.
- [CLI JSON output](/docs/cli/json-output): Use stable machine-readable output in scripts and agents.
