For the complete documentation index, see llms.txt. This page is also available as Markdown.

Consumption

A consumption is a type of agreement that governs the use of a product or service. There are two main types of consumption licenses: those that include consumptions on the license and those that cover the consumption of features.

allow_unlimited_consumption always has priority over max_overages, i.e. if allow_unlimited_consumption is set to true then max_overages doesn't have any effect.

Consumptions can be reported in two ways:

  • Add Consumption and Add Feature Consumption apply one consumption value per request, as it happens.

  • Consumption Sync applies a batch of consumption events recorded on the device, for a license or a whole bundle. Each event is applied exactly once. Use the Online Method when the device can reach the License API, or the Offline Method to upload a request file through the offline portal.

Accepted consumption values Consumption values must be between -(2^53 - 1) and 2^53 - 1 (-9,007,199,254,740,991 to 9,007,199,254,740,991). The SDKs reject values outside this range with an error.

Last updated

Was this helpful?