Skip to content

Lists metric definitions for a product with pagination, sorting, and filtering.

GET
/api/v1/provision/admin/products/{productId}/metrics
curl --request GET \
--url 'https://example.com/api/v1/provision/admin/products/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/metrics?pageNumber=1&pageSize=100'
productId
required
string format: uuid

Product id.

pageNumber
integer | string format: int32
default: 1 /^-?(?:0|[1-9]\d*)$/
pageSize
integer | string format: int32
default: 100 /^-?(?:0|[1-9]\d*)$/
sortOrder
string
filter
string

OK

object
pageNumber
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
pageSize
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
totalCount
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
items
Array<object>
object
id
string format: uuid
productId
string format: uuid
metricName
string
name
string
description
null | string
metricType
integer
unit
string
category
string
numberFormat
string
totalPages
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
hasPreviousPage
boolean
hasNextPage
boolean

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