Create a value metric
Adds one value metric — its unit, formula, signal binding and optional monetary conversion — to the value model. The signal must already exist: an event name your organization has sent, or one referenced by usage pricing on an active product. Publishes a new value model version and recalculates delivered value for historical signals.
Authentication
AuthorizationBearer
API Key authentication using Bearer token
Request
Body
name
Customer-facing metric name.
unit
formula
signal
The signal that feeds a metric. A metric has exactly one on this surface, matching Value Studio. On update, supplying it replaces the existing binding rather than merging into it.
slug
Stable identifier. Derived from the name when omitted.
monetaryConversion
category
Classification: hve = human value equivalent, time = time saved, cost = cost savings, revenue = revenue generated, risk = risk avoided.
description
Short customer-facing copy shown on value receipts.
longDescription
sources
Up to 3 customer-facing citations backing this metric.
expectedActiveVersion
Optimistic concurrency guard. When supplied and it does not match the live active version, the request fails with 409 instead of overwriting a concurrent change.
Response
201
slug
name
version
The value model version this write published.
Errors
400
Bad Request Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error