Skip to navigation

Upload value model

Uploads a new value model version. Validates the content, creates a new version, archives the previous active version, and syncs to ClickHouse. This updates how value is calculated going forward — new signals are valued under the new model. It does NOT re-rate historical signals; run POST /api/v2/value-models/backfill to re-rate history as a separate, explicit action.

Authentication

AuthorizationBearer
API Key authentication using Bearer token

Request

Body
contentobjectRequired

Full value model configuration: value types, formulas, events, overrides, and actions.

effectiveFromdatetimeOptional
effectiveTodatetimeOptional

Response

200
idstringformat: "uuid"
Value model version ID.
versioninteger
Monotonically increasing version number.
contentobject

Full value model configuration: value types, formulas, events, overrides, and actions.

createdAtdatetime
activatedAtdatetime or null
effectiveFromdatetime or null
effectiveTodatetime or null

Errors

400
Bad Request Error
500
Internal Server Error