List Anthropic Console invoices
Automatically list Anthropic Console invoices on console.anthropic.com. List your Claude API invoices from the Anthropic Console (platform.claude.com): date, type, invoice number, status, amount and each invoice's Stripe-hosted page, plus the organization id and name. Reads the whole invoice history, following pagination, and works whatever language the Console is in. An organization with no invoices returns an empty list; signed out, it stops with a clear error rather than returning nothing. The Stripe links are re-signed on every load, so use them rather than store them; to download a PDF, feed one to invoice.stripe.com/download_invoice_pdf.
Input
None
Output
count required0 is a real answer: the organization has no invoice history.
invoices requiredorganizationId requiredpages optionalHow many pages of the history were read.
organizationName optionalFAQ
Anthropic Console whoami (signed-in account)
Report which Anthropic Console (platform.claude.com) account this browser is signed in as: the user id, uuid, email, name, and every organization it belongs to with its uuid and role (the organization other Console scripts act on). Being signed out is reported as a normal answer (loggedIn false), not an error, so it can be used to check a session before running other Console scripts.
Claude Console login (Google SSO)
Log into the Claude Console (platform.claude.com, formerly console.anthropic.com) with Continue with Google. Returns straight away if you are already signed in, and reports the account.
Anthropic Console — list workspaces
List the workspaces of an Anthropic Console (platform.claude.com) organization: workspace id, name, creation date, archived date, data-residency region and display colour. Pass organizationUuid (from console.anthropic.com/whoami) to pick an organization; omit it to use the account's first one. Read-only. An organization without Console access is reported by name rather than as an empty list, and signed out is a clear error.
