CLI reference / Billing

CLI reference

Billing

wiele billing: subscription status, Stripe Checkout, plan changes, the customer portal and memory credits.

Owners and admins run the billing commands; any member can run usage. Wiele never sees card details: checkout and portal print Stripe links that a person opens in a browser. Plans and prices are on Billing and plans.

wiele billing status

Show the organization's plan, subscription state, trial or renewal date, members and billed storage.

wiele billing status [flags]
Flag Description
--org string Organization ID or slug. Default: the checkout's organization when the workspace comes from the checkout, otherwise the one picked with wiele org use.

wiele billing checkout

Print a Stripe Checkout link that collects a card and starts the plan. New organizations get a 7-day trial.

wiele billing checkout [flags]
Flag Description
--plan starter|pro|enterprise Required. Plan to start.
--org string Organization ID or slug. Default: the checkout's organization when the workspace comes from the checkout, otherwise the one picked with wiele org use.
--idempotency-key string UUIDv7 that makes the request safe to retry. Each run generates one; pass the same key to replay a request after a timeout.
--wait string Wait for the subscription to start, such as 10m.

wiele billing plan

Move the organization's subscription to another plan. Stripe prorates the monthly price.

wiele billing plan [flags]
Flag Description
--plan starter|pro|enterprise Required. Plan to move to.
--org string Organization ID or slug. Default: the checkout's organization when the workspace comes from the checkout, otherwise the one picked with wiele org use.
--idempotency-key string UUIDv7 that makes the request safe to retry. Each run generates one; pass the same key to replay a request after a timeout.

wiele billing portal

Print a Stripe Customer Portal link to update the card, see invoices or cancel, as an owner or admin.

wiele billing portal [flags]
Flag Description
--org string Organization ID or slug. Default: the checkout's organization when the workspace comes from the checkout, otherwise the one picked with wiele org use.
--idempotency-key string UUIDv7 that makes the request safe to retry. Each run generates one; pass the same key to replay a request after a timeout.

wiele billing usage

Show this period's memory credits: included, used, overage, the spending cap, a projection and totals by operation and workspace.

wiele billing usage [flags]
Flag Description
--org string Organization ID or slug. Default: the checkout's organization when the workspace comes from the checkout, otherwise the one picked with wiele org use.

wiele billing cap

Set the monthly cap on memory credit overage in US dollars, as an owner or admin. At the cap, memory recall and answers stop and indexing pauses.

wiele billing cap [flags]
Flag Description
--usd number Cap in US dollars, up to two decimals.
--none Remove the cap.
--org string Organization ID or slug. Default: the checkout's organization when the workspace comes from the checkout, otherwise the one picked with wiele org use.
--idempotency-key string UUIDv7 that makes the request safe to retry. Each run generates one; pass the same key to replay a request after a timeout.