Skip to content

Returns current usage on a metric for the given session.

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

Active license session.

metric
required
string

Metric name.

OK

object
metricType
integer
value
number | string format: double
/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$/
meteredUsageStatus
One of:
null
balanceUsage
One of:
null

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