Update a metric definition
Update the editable subset of a custom metric definition, addressed by its UUID or its stable slug. Only the supplied fields are changed; omitted fields are left unchanged. Every update creates a new immutable version; the response carries the advanced versionId. Immutable fields (scope, outputType, calcType, …) are rejected, and which fields are editable depends on the metric (e.g. derived metrics only allow name). Roark’s own metrics are rejected here: this endpoint edits the shared definition, which every workspace sees. To change one for your workspace alone, edit its variant with PUT /v1/metric/definitions//variants/, which forks it for you and leaves every other workspace on the original.
Authorizations
Path Parameters
Body
Editable subset of a metric definition. Every update creates a new immutable version. Immutable fields (slug, scope, outputType, calcType, …) are rejected with a 400.
When this metric applies, in plain words (for example "the caller asks to stop being contacted"). BOOLEAN LLM metrics only. On a conversation that does not meet it, the metric records captureStatus: NOT_APPLICABLE instead of a verdict, and checks on it count only the conversations it applies to. Null or empty: it applies to every conversation. Send null or an empty string to remove it.
1000