Skip to content

Returns a snapshot report of all current usage metrics, grouped by category/tier.

GET
/api/v1/provision/admin/reports/usage-metrics
curl --request GET \
--url https://example.com/api/v1/provision/admin/reports/usage-metrics

OK

Server-aggregated usage metrics report. Contains a flat list of metric entries, each tagged with its category/tier. The report is agnostic to which specific metrics are defined — new collectors automatically appear without DTO changes. Historical/time-series chart data should be queried separately via DataService.

object
generatedAtUtc
string format: date-time
metrics
Array<object>

A single metric value within a report.

object
metricName

Unique metric identifier, e.g. “entitlement.active.total”.

string
name

Human-readable display name, e.g. “Active Entitlements”.

string
description

What this metric measures.

string
category

Tier/category tag, e.g. “Active”, “Compliance”, “Growth”, “Adoption”.

string
tags

Cross-cutting classification tags for secondary grouping/filtering.

Array<string>
value

Current snapshot value.

number | string format: double
/^-?(?:0|[1-9]\d*)(?:\.\d+)?$/
numberFormat

Display format hint, e.g. “0”, “0.0”, “0.0%”.

string
sampledAtUtc

When this metric value was sampled (UTC).

string format: date-time
entitlementId

Associated entitlement ID, if the metric is scoped to one.

null | string format: uuid
entitlementName

Display name of the associated entitlement.

string
assignedPlanSetId

Assigned plan set ID for the associated entitlement, when available.

null | string format: uuid
assignedPlanName

Assigned plan name for the associated entitlement, when available.

null | string
productId

Associated product ID, if the metric is scoped to one.

null | string format: uuid
productName

Display name of the associated product.

string

Unauthorized

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

Forbidden

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