Type Definition
Fields
Core Fields
| Field | Type | Description |
|---|---|---|
id | UUID! | Unique identifier for the feature |
refId | String! | Your application’s unique identifier for this feature |
displayName | String! | Display name shown in UI |
description | String | Feature description |
featureType | FeatureType! | Type of feature (BOOLEAN, NUMBER, ENUM) |
featureStatus | FeatureStatus! | Status of the feature |
Units (Numeric Features)
| Field | Type | Description |
|---|---|---|
featureUnits | String | Singular unit name (e.g., “seat”, “API call”) |
featureUnitsPlural | String | Plural unit name (e.g., “seats”, “API calls”) |
Metering
| Field | Type | Description |
|---|---|---|
hasMeter | Boolean | Whether this feature has a meter for usage tracking |
meter | Meter | The meter configuration |
meterType | MeterType | Type of metering |
Enum Configuration
| Field | Type | Description |
|---|---|---|
enumConfiguration | [EnumConfigurationEntity!] | Configuration for enum-type features |
usedEnumValues | [String!] | Enum values currently used by plans or addons |
Unit Transformation
| Field | Type | Description |
|---|---|---|
unitTransformation | UnitTransformation | Transformation to apply to reported usage |
FeatureType Enum
| Value | Description |
|---|---|
BOOLEAN | Feature is either enabled or disabled |
NUMBER | Feature has a numeric limit or quantity |
ENUM | Feature has a set of possible values |
FeatureStatus Enum
| Value | Description |
|---|---|
ACTIVE | Feature is active and can be used |
INACTIVE | Feature is not active |
MeterType Enum
| Value | Description |
|---|---|
FLUCTUATING | Value can go up and down |
INCREMENTAL | Value only increases |
NONE | No metering |
Example Response
Boolean Feature
Numeric Feature (Metered)
Enum Feature
Related Types
- Entitlement - Entitlement type
- Plan - Plan type
- Addon - Addon type
Related Operations
- List Features - Query features
- Create Feature - Create new feature
- Update Feature - Update feature
- Archive Feature - Archive feature
