Metric

List a metric’s variants

Changed on

Every 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 URL
    https://api.roark.ai
  • URL
    https://api.roark.ai/v1/metric/definitions/{idOrSlug}/variants
  • Auth
    HTTP bearer

Path parameters

idOrSlugstring required

Metric definition UUID or its stable slug.

Response

The variants visible to your organization

Changes