Command reference
Customer commands for setup, account visibility, caller-owned spend, billing, and team access.
Global selection and output flags precede the command: solwyn --json --project proj_0123456789abcdef01234567 costs events --all. Core authorizes every request. A command being visible in help does not grant a role, key scope, or plan capability. A Solwyn login reads, stops runs and lowers caps on its own; other changes wait for a browser approval and exit 6 when it is not given.
| Area | Commands and reference |
|---|---|
| Setup and identity | init, login / logout, whoami, credentials, approvals, doctor, config |
| Monitoring | status, costs, forecast, overview, providers |
| Caller-owned spend | budget status / check / confirm / set / uncounted, record, runs list / show / stop |
| Rules and delivery | budget rules / rule / threshold / restore-defaults, alerts, channels, notifications, webhooks |
| Account administration | projects, keys, account, tags, audit, attest |
| Subscription and access | plan, team, invite show |
| Agents | agent-context, mcp / mcp-config, MCP setup, bounded work and recovery |
Billing and team writes, account rename, and invitation preview remain CLI-only. MCP exposes account reads and a read-only plan preview. Invitation acceptance, personal-account recovery, phone verification, consent changes, profile/email changes and email-link verification use the dashboard.
For unattended work, read Scripting and each command's --help for its schema and exit codes.
Scripting and CI
The CLI's machine contract — two output formats, schema-bearing JSON, frozen exit codes, streaming exceptions, and budget gates for CI.
login / logout / whoami
Log in through your browser, store an API key, revoke the login and clear stored credentials, and inspect the current identity