Activate a model checkpoint
Staff Onboarding
Activate a model checkpoint
Requires onboarding_admin + CSRF. Returns 404 if the given checkpoint version does not exist. Marks that checkpoint version active (deactivating all others); if the tenant has an existing dataset, enqueues a materialize_insights job for its latest version (idempotency key materialize-activation:{tenant_id}:{dataset_id}:{checkpoint_version}) so the console has fresh collections to show and sets client_visible on the matching insight_collections rows. Also sets share_onboarding_outputs on the tenant’s control.tenants row, flips tenant lifecycle state to review, and writes a control.audit_log row (checkpoint_activated).
POST
Activate a model checkpoint