get
https://api.doit.com/analytics/v1/custom-metrics
Returns a page of the customer's custom metrics. Preset metrics are
not included. Requires the analytics:calculatedMetrics entitlement
and a metrics read permission.
rowCount is the exact number of metrics that match nameContains
and filter, across all pages. The page token is opaque and bound
to nameContains, filter, sortBy and sortOrder: reusing it
with different values gets 400 pagination_token_invalid.
Errors (RFC 9457 Problem Details, code field):
400 validation_failed: a bad parameter, such asmaxResults
over 500 or an unknownsortByvalue.400 filter_key_not_supported: afilterkey other thanname
orowner. Thedetailsentry lists the supported keys in
supportedKeys.400 pagination_token_invalid: see above.400 tenant_id_required: a caller with access to more than one
customer sent noX-Tenant-Id.403 analytics.feature_not_entitled: the customer does not have
the calculated metrics entitlement.403 forbidden: no metrics read permission, or anX-Tenant-Id
that the credential cannot access.
maxResults is at most 500. A larger value returns 400 validation_failed.
sortOrder defaults to desc.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…