Subscription plans
SUPERADMIN users manage plan definitions and assign them to organizations.
Plan fields
- name, description
- features: feature flags (
analytics_bots,data_sources,workflows,live_chat, …) - limits: numeric quotas (
projects,agents,knowledgeBases,knowledge_files,storage_mb,integrations, …)
Assignment
POST /subscriptions/:id/assign (or equivalent) links organization ↔ plan.
Over limit
The backend may return 402 or a clear error; the UI should suggest upgrading the plan.