Skip to main content

ModelArtifact

Versioned policy artifact persisted to GCS.

This is the on-wire shape of the latest_model.json and approved_model.json blobs. It crosses a serialization boundary, so it lives as a Pydantic model (not a dataclass) to validate the payload at load time and catch schema drift early.

model_idModel Idrequired
trained_atTrained Atrequired
feature_schema_hashFeature Schema Hashrequired
phase_feature_weights objectrequired
property name* object
property name*number
approvedApproved
Default value: false
approved_at object
anyOf
string
ModelArtifact
{
"model_id": "string",
"trained_at": "string",
"feature_schema_hash": "string",
"phase_feature_weights": {},
"approved": false,
"approved_at": "string"
}