Account & Org
Account & Org
Issue API keys, isolate customers into subaccounts, and meter usage per subaccount from a single organization.
The apiKeys, subaccounts, and usage clients are reachable two ways: directly on the client (bctrl.apiKeys) or grouped under bctrl.account.apiKeys. Both point at the same client.
Who am I
Check the actor behind the current API key:
API keys
The secret is returned only at creation time. Issue a key scoped to a subaccount with subaccountId.
Subaccounts
Each subaccount is an isolated, separately-billed environment for one of your customers, under your organization.
A parent-org key can act on any subaccount with ?subaccountId=; a subaccount-scoped key is automatically confined to its own subaccount.
Usage
Read organization usage, or per-subaccount usage:
Next
- Spaces - scope work within a subaccount
- SDK Essentials - pagination, errors, idempotency
- API Reference - every account endpoint

