Skip to main content
POST
Create Metric

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

CreateMetricRequestData

name
string
required
Maximum string length: 255
suffix
string
required
Maximum string length: 255
calc_type
enum<integer> | null
Available options:
0,
1
description
string | null
default_value
number | null
display_chart
boolean | null
threshold
integer | null
Required range: 0 <= x <= 60
places
integer | null

Response

Metric

data
Metric · object
required
included
MetricPoint · object[]