Skip to main content
Starts a subscription checkout flow for an organization. Production API keys (sk_live_*) require an active paid subscription.
agent-cards-admin subscribe

What it does

  1. Prompts you to select an organization
  2. Checks if the org already has an active subscription
  3. Opens a secure checkout page in your browser
  4. Waits for payment confirmation
  5. Optionally creates a production API key and switches to production mode

Example

$ agent-cards-admin subscribe
? Select organization: Acme Inc (billing@acme.com) — beta

Subscribe to a paid plan
This will open a secure checkout page in your browser.
Production API keys (sk_live_*) require an active subscription.

? Start subscription checkout? Yes
✓ Checkout session created
Opening browser...
✓ Subscription activated!

? Create a production API key now? Yes
? Key name (e.g. "production"): production
✓ Production API key created

  WARNING: Save this key now. You will not see it again.

  Key    sk_live_x9y8z7w6v5u4...
  ID     key_abc123
  Prefix sk_live_x9y8
  Name   production

  Key saved and set as active. Mode switched to production.

Options

--org <org-id>    Skip org selection and use this organization ID

What happens on cancellation

If a subscription is later canceled:
  • The organization reverts to the beta plan
  • All production API keys (sk_live_*) are automatically revoked
  • Test keys (sk_test_*) are not affected