Update a metric variant
Rename a variant, change its configuration, or both. Every configuration change creates a new
immutable version and advances versionId; the response carries the advanced value.
Editing one of Roark’s own variants forks it for your organization. The response carries the
new variant’s id, which will differ from the one in the path, and isSystem becomes false. Roark’s
variant is untouched and other organizations keep it. DELETE your fork to go back to it.
Which fields are editable depends on the metric: some Roark metrics lock their prompt or output configuration, and a locked field is rejected rather than ignored.
Authorizations
Path Parameters
Body
Change a variant's name, its configuration, or both. Every configuration change creates a new immutable
version and advances versionId.
Editing Roark's own variant forks it for your organization first: the response carries the new variant's id, and other organizations keep the original. Delete that variant to go back to Roark's version.