V2TrainingApproveResponse
Response for POST /v2/model/approve.
company_iduuidrequired
model_idModel Idrequired
approved_artifact_pathApproved Artifact Pathrequired
artifact objectrequired
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:
falseapproved_at object
anyOf
- string
- null
string
V2TrainingApproveResponse
{
"company_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"model_id": "string",
"approved_artifact_path": "string",
"artifact": {
"model_id": "string",
"trained_at": "string",
"feature_schema_hash": "string",
"phase_feature_weights": {},
"approved": false,
"approved_at": "string"
}
}