Metric
List a metric’s variants
Changed onEvery configuration of this metric your organization can use: Roark’s own variants and any your organization has added or forked. isDefault marks the one the metric is scored with when nothing pins another; pass any variant’s id as sourceVariantId to pin it on a derived metric.
Auto-managed variants (the ones a package materializes for you) are not listed: they are engine state, not configuration you author.
get/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.
Response
The variants visible to your organization
Changes
- info
endpoint added
- info