Skip to main content
objectEntitlement

Fields

accessDeniedReason

Optional message explaining why access to the feature is denied.

creditRate

The credit rate associated with this entitlement, if applicable.

currentUsage
Float

The amount of the feature the customer has used so far in the current period.

customerId
String
deprecated
No longer in use
displayNameOverride
String

A custom name to override the default display name for this entitlement.

entitlementUpdatedAt
DateTime

Timestamp of the last update to the entitlement grant or configuration.

enumValues
[String!]

List of enum values applicable to this entitlement, if it is an enum feature.

The feature this entitlement corresponds to.

hasSoftLimit
Boolean

Indicates whether the usage limit is soft — usage can exceed the limit, but will be tracked.

hasUnlimitedUsage
Boolean!

Indicates whether this entitlement grants unlimited usage with no enforced cap.

hiddenFromWidgets

Indicates whether this entitlement should be hidden in customer-facing widgets.

isGranted
Boolean!

Indicates whether the entitlement is currently granted to the customer.

meterId
String

The ID of the meter tracking usage for this entitlement.

nextResetDate
DateTime
deprecated
renamed to usagePeriodEnd
requestedUsage
Float

The amount of usage requested by the customer.

requestedValues
[String!]

The values requested by the customer, if applicable.

The interval at which usage resets automatically, such as monthly or yearly.

resetPeriodConfiguration

Detailed configuration object specifying the usage reset schedule.

resourceId
String
deprecated
No longer in use
usageLimit
Float

The maximum allowed usage for this entitlement before restrictions apply.

usagePeriodAnchor
DateTime

The anchor for calculating the usage period for metered entitlements with a reset period configured

usagePeriodEnd
DateTime

The end date of the usage period for metered entitlements with a reset period configured

usagePeriodStart
DateTime

The start date of the usage period for metered entitlements with a reset period configured

usageUpdatedAt
DateTime

Timestamp of the last update to the usage value.

validUntil
Float

The next time the entitlement should be recalculated