crewship paymaster
View LLM spend rolled up by crew, agent, or mission. Reads from thecost_ledger table populated by the Paymaster middleware.
Subcommands
| Command | Description |
|---|---|
by-crew | Spend per crew in the workspace. |
by-agent <crew> | Spend per agent inside a specific crew. |
by-mission <missionId> | Spend rolled up for a single mission. |
top | Highest-cost scopes in the window. |
subscriptions | Subscription-plan usage rollup (flat-rate credentials). |
crewship paymaster by-crew
| Flag | Type | Default | Description |
|---|---|---|---|
--range | string | 7d | Time window: 1h, 24h, 7d, or 30d. |
crewship paymaster by-agent <crew>
| Flag | Type | Default | Description |
|---|---|---|---|
--range | string | 7d | Time window. |
crewship paymaster by-mission <missionId>
Return the total cost ledger for a single mission (cost, call count, input/output tokens). Mission is workspace-scoped; foreign mission IDs return 404. There is no --range flag here — the server returns the mission’s full cost history.
crewship paymaster top
| Flag | Type | Default | Description |
|---|---|---|---|
--limit | int | 10 | Top N spenders (1-100). |
--range | string | 7d | Time window. |
<scope_kind>/<scope_id> (one of workspace, crew, mission, agent).
crewship paymaster subscriptions
Show flat-rate subscription usage — the API counterpart to the “Subscription plans” panel on the Paymaster dashboard. No $-figures because flat-rate cost is always $0 by construction; the row shape is plan + provider + call_count + token totals + last_used.
| Flag | Type | Default | Description |
|---|---|---|---|
--range | string | 7d | Time window: 1h, 24h, 7d, or 30d. |
--since | string | RFC3339 start cutoff (overrides --range if both set). | |
--until | string | RFC3339 end cutoff. |
Global output
--format json|yaml works for every subcommand and emits the raw rollup structs from the API.