Skip to content

Schema Overview ​

This category explains the data One API Pro persists, answering:

  • What is each entity, who creates it, and where can I find it?
  • Where do I change it from?
  • What changes when I edit it?

For HTTP endpoints, see the API Reference.

Reading order ​

First time here? Read in this order:

  1. User — identity and quota hub of the whole system
  2. Channel — smallest unit for an upstream provider
  3. Plan and Subscription — monetization model
  4. Order — what users actually paid for

Debugging an issue? Jump to:

Entity map ​

EntityCreated byConsumed byManage in
UserSelf-registration / adminAll featuresAdmin → Users
TokenUserAdmin APIAdmin → API Tokens
ChannelAdminChannel routerAdmin → Channels
ModelPriceAdminBillingAdmin → Model Prices
GroupPriceAdminBillingAdmin → Group Prices
PlanAdminCheckoutAdmin → Plans
SubscriptionSystem (after checkout)Billing / rate limitAdmin → Subscriptions
OrderUserFinanceAdmin → Orders
TopupUserBillingAdmin → Topups
RedemptionAdminUser redeemAdmin → Redemption Codes
ClusterNodeNode on startupCluster syncAdmin → Cluster
LogSystem (per call)Admin debuggingAdmin → Logs
OptionAdminGlobal behaviorAdmin → System