Jeden/Docs

CLI command

jeden stats

Show local usage, quota, and session totals or serve the same snapshot as a loopback dashboard.

Exact invocation#

Shell
jeden stats [--json|--summary|--serve [--port N]]

Inputs and options#

  • No mode prints the full text snapshot; --json prints structured data and --summary prints one project summary line.
  • --serve binds 127.0.0.1; --port N selects a u16 port, defaulting to 3847 when absent or unparsable.

Output and state effect#

Reads project/user usage ledgers, platform quota availability, and recent local sessions. Serve mode exposes only / and /api/stats on loopback until stopped.

Refusals and boundaries#

  • Serve mode refuses a loopback bind failure as cannot bind 127.0.0.1:<port>: ....
  • Unknown HTTP paths return 404. Unavailable quota is reported in the snapshot rather than represented as available.