Skip to main content
They contain fields. Each field has its own type, which could be Scalars, Enums, or other objects. Fields may have arguments. Fields with arguments work exactly like top-level Queries.

Feature

A feature of your product which you could consider to be billable. Features can be added to packages.
How can I see the limit given to a feature?A feature does not have a global limit. Limits are given to features within packages (ie. a PackageFeature) as each package can have a different limit for a particular feature. You will need to retrieve the package in order to grab the feature as it exists within a package to see the limit.

Fields

Fields with arguments

What if a user is subscribed to multiple packages with the same feature?If the user is subscribed to multiple packages which contain the same feature, then we will look for the associated Package with the highest limit and will only return the Entitlement for that package/feature combination.

Package

A collection of features. A user can subscribe to packages in order to gain access to the features within. This can be a base package, or an add-on (ie. those at an additional cost on top of the base).

Fields

PackageFeature

The feature as it sits within the package.

Fields

PackagePrice

An available price for the package which links to your billing provider (ie. Stripe).

Fields

Entitlement

A user’s entitlement to a particular feature.

Fields

Consumption

A user’s consumption of a particular feature. Details the amount they have used, the amount they were granted, and if they can run over the given amount of the feature.

Fields

ConsumptionInPeriod

Shows the consumption of a feature within a given time period.

Fields

PackageSubscription

The subscription of a user to a particular package.

Fields

CanUseFeatureData

A user’s entitlement to a particular feature.

Fields

ShowUsageData

Provides the current and past consumption of a feature within the given time period(s).

Fields

Provides a link which a user should navigate to in order to pay and subscribe to a package. Currently only works if Stripe is linked as a billing provider for the package.

Fields

User

A user of your product who can subscribe to packages and access and use the features within.

Fields

RecordedUsage

Information returned on whether usage was recorded or not (as per the recordUsage operation).

Fields

GeneratedUserToken

The client-side token needed for Secure Mode authentication of the Client SDK (Frontend).

Fields