Skip to content

Returns a usage overview (per-metric consumption, period state) for the entitlement.

GET
/api/v1/provision/admin/entitlements/{entitlementId}/usage-overview
curl --request GET \
--url https://example.com/api/v1/provision/admin/entitlements/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/usage-overview
entitlementId
required
string format: uuid

Entitlement id.

OK

Admin read model that explains an entitlement’s effective usage configuration: the plan in effect, active add-on grants, and the per-feature value resolution.

object
planSource

Where the plan in effect comes from: "Assigned plan" or "Temporary override".

string
planSetId
null | string format: uuid
planSetName
null | string
planName
null | string
addOnGrants
Array<object>

An add-on grant on an entitlement as returned by the admin API, denormalized with the add-on and suite display fields.

object
id
string format: uuid
addOnId
string format: uuid
addOnCode
string
addOnName
string
suiteId

The suite this add-on overlays.

string format: uuid
suiteName

Display name of that suite.

string
startsAt
string format: date-time
expiresAt
null | string format: date-time
isRevoked
boolean
revokedAt
null | string format: date-time
reference
null | string
campaignId

Campaign the grant was made under, when it was part of one.

null | string format: uuid
isActive

True when the grant is inside its start/expiry window and not revoked.

boolean
features
Array<object>

Per-feature value resolution inside an EntitlementUsageOverviewDto: the plan-provided value, the add-on-computed value, and which one won.

object
featureCode
string
planValue

Value contributed by the plan in effect; null when the plan does not set this feature.

null | string
addOnComputedValue

Value computed from the active add-on grants; null when no add-on touches this feature.

null | string
addOnComputedOperation
One of:
null
effectiveValue

The value that actually applies to the entitlement after resolution.

null | string
addOnValueUsed

True when string? EntitlementUsageOverviewFeatureDto.EffectiveValue came from the add-on computation rather than the plan.

boolean
appliedAddOnIds

Add-ons that contributed to the computed value.

Array<string>
valueSource

Origin of string? EntitlementUsageOverviewFeatureDto.EffectiveValue: "Plan", "Add-on", "Add-on merged", or "None".

string

Not Found

object
type
null | string
title
null | string
status
null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
detail
null | string
instance
null | string