Skip to content

Commit 5cddbae

Browse files
MajorTalclaude
andcommitted
docs(cli): note SIWX auth requirement on billing reads/link/auto-recharge
Four /billing/v1/* endpoints flipped to SIWX-or-admin-key in v2.19.1. The CLI signs automatically from the local allowance; only mention the constraint so agents know why an empty-allowance run fails 401. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 171776a commit 5cddbae

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

cli/llms-cli.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1275,6 +1275,8 @@ Email-based billing accounts, Stripe tier checkout, and email packs. Pay run402
12751275
- `run402 billing balance <email-or-wallet>` — balance + email_credits_remaining + tier + lease + auto_recharge state
12761276
- `run402 billing history <email-or-wallet> [--limit <n>]` — ledger history (both identifier types supported)
12771277

1278+
Auth (v2.19.1+): `balance`, `history`, `link-wallet`, and `auto-recharge` require SIWX signed by the relevant wallet (the path wallet for reads, the body wallet for link, a linked wallet for auto-recharge). The CLI signs automatically from the local allowance, so these only work when the agent's allowance wallet is the one being queried/linked/billed. Email-identifier reads require an admin key. Checkout-creation commands (`create-email`, `tier-checkout`, `buy-email-pack`) remain unauthenticated.
1279+
12781280
Email packs only activate when the tier daily limit is exhausted AND the project has a verified custom sender domain (spam protection for `mail.run402.com`).
12791281

12801282
### contracts

0 commit comments

Comments
 (0)