White-label AI products
Build branded multi-tenant AI applications with isolated IAM organizations (/v1/iam/organizations), per-tenant Base datastores (/v1/base), KMS keys, and entitlements (/v1/entitlement).
Enterprise buyers demand strict tenant isolation, their own SSO, and zero cross-customer model leakage. Hanzo's multi-tenancy model gives every customer organization its own IAM boundary, Base namespace, KMS prefix, billing ledger, and entitlement set out of the box.
Tenant isolation boundary
| Layer | Isolation mechanism | Endpoint |
|---|---|---|
| Identity & SSO | Dedicated organization under Hanzo IAM (hanzo.id) with OIDC/SAML | /v1/iam/organizations |
| Application data | Org-isolated Hanzo Base instance & GraphQL endpoint | /v1/base/bases/{org} |
| Secrets | Per-org KMS encryption namespace | /v1/kms/secrets |
| Entitlements & quotas | Plan subscriptions and resolved runtime entitlements | /v1/plan, /v1/entitlement/orgs/{org} |
| Intelligence | Org-private Kai capabilities, Enso feedback ledgers, and Zen LoRA artifacts | /v1/capabilities, /v1/train/artifacts |
Provision & inspect tenant entitlements
CLI
SDK
HTTP
MCP
# List organizations and plan catalog
hanzo iam organizations list
hanzo plan list
# Inspect resolved entitlements for a tenant org
hanzo entitlement orgs get acme-corpTypeScript
Python
import { Configuration, IamApi, EntitlementApi, PlanApi } from 'hanzoai';
const cfg = new Configuration({ accessToken: process.env.HANZO_API_KEY });
const [plans, ents] = await Promise.all([
new PlanApi(cfg).getPlan(),
new EntitlementApi(cfg).getEntitlementOrgsByOrg('acme-corp'),
]);
console.log({ plans: plans.data, entitlements: ents.data });import os
from hanzoai.cloud import ApiClient, Configuration
from hanzoai.cloud.api import PlanApi, EntitlementApi
client = ApiClient(Configuration(access_token=os.environ["HANZO_API_KEY"]))
print(PlanApi(client).get_plan())
print(EntitlementApi(client).get_entitlement_orgs_by_org("acme-corp"))# 1. List available commercial plans
curl -s https://api.hanzo.ai/v1/plan \
-H "Authorization: Bearer $HANZO_API_KEY" | jq '.'
# 2. Check resolved entitlements for a tenant org
curl -s https://api.hanzo.ai/v1/entitlement/orgs/acme-corp \
-H "Authorization: Bearer $HANZO_API_KEY" | jq '.'
# 3. Inspect org's Base datastore binding
curl -s https://api.hanzo.ai/v1/base/bases/acme-corp \
-H "Authorization: Bearer $HANZO_API_KEY" | jq '.'curl -X POST https://api.hanzo.ai/v1/mcp \
-H "Authorization: Bearer $HANZO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "entitlement",
"arguments": {"op": "get_entitlement", "input": {}}
}
}'White-label checklist
- Never reuse a single shared
sk-server key without passing verified tenant isolation boundaries. - Separate
pk-publishable browser keys fromsk-server credentials (API keys). - Attach custom domains and TLS via
/v1/domainand/v1/ingress.
Related courses & docs
Was this page useful?
Broken link or missing step? Drop it in #docs on Discord or open a PR.