Reference

apex spend

Show what the fleet cost, next to what the same work would have cost on GitHub

apex spend [options]

With an API token, needs the permission actions:read.

Options
OptionDescription
--repo <owner/repo>one repository — required with an API token (default for the operator: every repository)
--days <n>window in days, clamped to 1–365 (default: 30)
--workflows <n>workflows to list (default: 10)
--jsonprint the report as JSON

Example

A repository's last week of cost, next to what GitHub would have charged.

apex spend --repo acme/web --days 7