cost-guard push¶
Upload session data to backend (visible in dashboard).
Usage¶
cost-guard push [OPTIONS]
Options¶
| Option | Default | Description |
|---|---|---|
--project PATH |
. |
Project path to scan |
--since N |
30 |
Only push sessions from last N days |
--dry-run |
false |
Print what would be pushed (no HTTP) |
Examples¶
Push last 30 days (default):
cost-guard push
Push last 7 days:
cost-guard push --since 7
Dry run (see what would upload):
cost-guard push --dry-run
Push from a different project:
cost-guard push --project ../other-project
Notes¶
- Requires authentication: run
cost-guard auth setfirst - Scans Claude Code sessions in
~/.claude-mem/or project-specific paths - Parses transcript JSONL, aggregates costs by model
- Uploads to
https://api.costcut.dev/v1/sessions