Skip to content

Returns the consumption status on a metric for the given session, including quota.

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

Active license session.

metric
required
string

Metric name.

OK

object
tier
string
currentValue
null | number | string format: double
/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$/
start
null | number | string format: double
/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$/
limit
null | number | string format: double
/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$/
usagePercentage
null | number | string format: double
/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$/
quotaUsagePolicy

Defines the enforcement behavior applied by the resource controller or interceptor when a specific usage tier threshold is reached. Ordered from least to most restrictive.

integer
quotaUsageLevel
integer
periodResetAt

When the current consumption period rolls over (derived from the configured calendar period). Null if the metric has no period.

null | string format: date-time

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