Skip to main content

V2TrainingResponse

Response for POST /v2/training.

company_iduuidrequired
business_datedaterequired
horizon_daysHorizon Daysrequired
state_countState Countrequired

Number of (date, room_type) states fed into the trainer.

warningsstring[]
model_idModel Idrequired
trained_atTrained Atrequired
latest_artifact_pathLatest Artifact Pathrequired

GCS URI of the trained artifact. Operator-only; partners should rely on the inline artifact payload below for model contents.

approved_artifact_path object

GCS URI of the approved artifact, set only when auto_approved=true. Operator-only.

anyOf
string
auto_approvedAuto Approvedrequired
artifact objectrequired

Full trained-model artifact (model_id, trained_at, feature_schema_hash, per-phase feature weights, approval state). Inspect this to understand exactly what the trainer produced — partners do not have direct GCS access.

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
V2TrainingResponse
{
"company_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"business_date": "2024-07-29",
"horizon_days": 0,
"state_count": 0,
"warnings": [
"string"
],
"model_id": "string",
"trained_at": "string",
"latest_artifact_path": "string",
"approved_artifact_path": "string",
"auto_approved": true,
"artifact": {
"model_id": "string",
"trained_at": "string",
"feature_schema_hash": "string",
"phase_feature_weights": {},
"approved": false,
"approved_at": "string"
}
}