Skip to content

List Center Metrics

GET
/users/{user_id}/insights/metrics
curl --request GET \
--url https://example.com/users/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/insights/metrics

Metrics that can be placed at the center of the insight graph (the picker list).

user_id
required
User Id
string format: uuid

Successful Response

Media typeapplication/json
Response List Center Metrics Users User Id Insights Metrics Get
Array<object>
CenterMetric

A metric that can sit at the center of the insight graph.

object
key
required
Key
string
label
required
Label
string
unit
required
Unit
string
Examplegenerated
[
{
"key": "example",
"label": "example",
"unit": "example"
}
]

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}