---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://segmentstream.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# Manage organization billing from the CLI

Check balances, add a card and manage top-ups from the SegmentStream CLI.

You can now check an organization's billing status and both credit balances from the SegmentStream CLI. Add a card, buy credit for either balance, or manage automatic top-ups without leaving the workflow you use to manage your workspaces.

Tell the coding agent you build with: “Check our organization's billing status in the SegmentStream CLI, then show me the platform and AI Gateway balances. Do not start a purchase or change automatic top-ups without asking me.” The CLI opens the payment provider's page to collect card and billing details; a change to automatic charges requires explicit confirmation.

A CLI checkout checks the particular card setup or purchase you started when you return. It does not prefill a complete billing address in hosted card setup.
