Kaiten
Core Concepts

Licenses & Entitlements

License types, entitlement types, structured values, and how they connect.

Licenses & Entitlements

Licenses

A License defines the commercial and functional contract applied to an instance.

License Types

TypeUse Case
COMMUNITYFree, open-source tier
TRIALTime-limited evaluation
DEVELOPMENTInternal/testing environments
PAIDProduction commercial license

Key Fields

FieldDescription
nameLicense name (e.g. "Starter", "Enterprise")
slugUnique per organization
typeOne of the license types above
versionAuto-incrementing version number
version_nameOptional human-readable version (e.g. "v2.1")
is_activeWhether the license is currently active
is_defaultWhether this is the default license for new instances

Entitlements

An Entitlement defines a specific usage right or quota. Entitlements exist independently of licenses — they become active when linked to a license via a license_entitlement.

Entitlement Types

TypeDescriptionExample
BOOLEANOn/off feature access"Can use SSO"
NUMBERMetered quota with threshold"1,000 API calls"
CONFIGArbitrary JSON configuration{"maxUsers": 50}

Metering (NUMBER type only)

FieldOptionsDescription
meter_typeCALCULATED_USAGE, RAW_EVENTHow usage is metered
aggregation_methodSUM, COUNT, AVERAGE, MAX, MIN, LATESTHow events are aggregated

License Entitlements

The link between a license and an entitlement carries a structured value:

{
  "type": "number",
  "value": 1000
}

Possible value shapes:

  • {"type": "number", "value": 1000} — numeric threshold
  • {"type": "boolean", "value": true} — feature toggle
  • {"type": "object", "value": {"maxUsers": 50}} — config object

How It All Connects

License: "Enterprise"
├── Entitlement: "API Calls" (NUMBER) → value: 10,000
├── Entitlement: "SSO Enabled" (BOOLEAN) → value: true
└── Entitlement: "Branding" (CONFIG) → value: {"theme": "custom"}

When an instance is assigned this license, it inherits all these entitlements and their thresholds. Usage is tracked per instance, per entitlement.

See It in the Console

Browse, create, and configure licenses and entitlements from the Console — including linking entitlements to licenses with specific thresholds and values.

On this page