Update migration

Apply ONE action: a status transition, an eval-suite (un)link, or a shadow-sample-rate change.

A body with zero or multiple actions is a 400. Emits MODEL_MIGRATION_UPDATED.

Authentication

AuthorizationBearer

Your gateway API key (mg_ prefix), the same key used for /v1/responses

Path parameters

migration_idstringRequiredformat: "uuid"

Request

This endpoint expects an object.
statusenum or nullOptional
Lifecycle of a model migration.
experiment_suite_idstring or nullOptionalformat: "uuid"
shadow_sample_ratedouble or nullOptional<=1

Response

Successful Response
idstringformat: "uuid"
baseline_modelstring
candidate_modelstring
statusstring
created_atdatetime
updated_atdatetime
shadow_daily_budget_usddouble or nullOptional
shadow_sample_ratedoubleOptionalDefaults to 1
cutover_modestringOptionalDefaults to policy_rewrite
created_bystring or nullOptional
experiment_suite_idstring or nullOptionalformat: "uuid"

Errors

422
Unprocessable Entity Error