Anthropic Console — list workspaces
Automatically list workspaces on console.anthropic.com. 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.
Input
organizationUuid optionalOrganization uuid (from console.anthropic.com/whoami). Omit to use the first organization the account belongs to.
Output
count requiredworkspaces requiredorganizationUuid requiredorganizationName optionalFAQ
List Anthropic Console invoices
List the billing invoices on the signed-in Anthropic Console (platform.claude.com) organization: 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.
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.
