Metric
Create a metric variant
Changed onAdd a configuration of this metric for your organization, seeded from its Default. Edit it with PUT to change what it measures, then pin it where you want it used.
Threshold metrics have no variants: their configuration comes from the metric they derive from. Metrics in a package that manages its own variants reject this too.
post/v1/metric/definitions/{idOrSlug}/variants
Request
- Base URLhttps://api.roark.ai
- URLhttps://api.roark.ai/v1/metric/definitions/{idOrSlug}/variants
- AuthHTTP bearer
Path parameters
idOrSlugstring required
Metric definition UUID or its stable slug.
Request body
Example request
{
"name": "Strict"
}Response
The created variant
Changes
- info
endpoint added
- info