usage
--since (relative duration, e.g. 7d, 24h) for a sliding window ending now, or --start and --end together for an explicit ISO 8601 range. The two modes are mutually exclusive. The range cannot exceed 31 days. Defaults to --since 7d.
Options
End of the window. Accepts ISO 8601; values without a timezone are interpreted in the local timezone. Requires —start. Mutually exclusive with —since.
Filter JSON output with a jq expression; implies —output json (or jsonl for streamed commands)
Output formatOne of:
text, json, jsonl, noneUse a specific stored profile for this command, overriding BASETEN_PROFILE and the current profile
Relative window ending now (e.g. 24h, 7d). Used when neither —start nor —end is given. Maximum 31d. Mutually exclusive with —start/—end.
Start of the window. Accepts ISO 8601 (e.g. ‘2026-05-01’, ‘2026-05-01T12:00:00Z’); values without a timezone are interpreted in the local timezone. Requires —end. Mutually exclusive with —since.
Enable verbose logging
Examples
Show usage over the last 7 days (default)Filter output with --jq
Print a top-level total (shape TBD)
Output
Text mode (--output text): Not yet implemented. The output shape is TBD.
JSON mode (--output json): payload type map[string]interface {}.