ValeronDocs

Analytics

List metrics

GET/v1/metrics

Requires the scope analytics:read

The metric catalogue: every metric with its label, description, unit and the groupings it supports.

#Responses

200Successful Response
Show response fieldsHide response fields
dataobject[]required
Show child attributesHide child attributes
descriptionstringrequired
groupingsobject[]required
Show child attributesHide child attributes
labelstringrequired
valuestringrequired
is_stored_dailybooleanrequired
keystringrequired
labelstringrequired
minimum_sampleintegerrequired
presetsstring[]required
sectionobjectrequired
Show child attributesHide child attributes
labelstringrequired
valuestringrequired
sourcestringrequired
table_objectsstring[]required
unitstringrequired
groupingsobject[]required
Show child attributesHide child attributes
labelstringrequired
valuestringrequired
max_range_daysintegerrequired
periodsobject[]required
Show child attributesHide child attributes
labelstringrequired
valuestringrequired
sectionsobject[]required
Show child attributesHide child attributes
keystringrequired
labelstringrequired
presetobjectrequired
Show child attributesHide child attributes
labelstringrequired
valuestringrequired

#Errors

Errors use the standard error shape.

StatusMeaning
400The request is not valid.
401Not signed in, or the credentials are not valid.
402The balance is too low.
403Not allowed to do this.
404Not found.
409Conflicts with the current state.
413The request body is too large.
415The content type is not supported.
422A value in the request is not valid.
429Too many requests. Wait for Retry-After seconds.
500Something went wrong on our side.
502A service Valeron depends on refused the request.
503A service Valeron depends on is unavailable.