Skip to main content
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.
Calls GET /v1/metric/definitions/{idOrSlug}/variants

Arguments

string
required
Metric definition UUID or its stable slug.

Example

Every command also takes the global options and sets one of the exit codes.