latestOpenAPI 3.1.02026-08-19270462702.4 KB

b92f75fd3b61

project-versions

Select a milestone version's champion model

Record a model as the milestone's champion and route traffic to it.

Args: project_id: Project the milestone belongs to. version_id: Milestone to record the champion on. request: Exactly one champion target, plus an optional reason. auth: Authenticated caller.

Returns: The updated milestone, the deployment record, and the live pointer.

post/projects/{project_id}/versions/{version_id}/champion

Path parameters

project_idstring uuid required
version_idstring uuid required

Request body

training_job_idstring nullable

Fine-tune to promote.

base_modelstring nullable

Catalog base model to promote.

reasonstring nullable

Why this model was chosen.

Response

Successful Response

deployment_idstring required

Deployment history record written by this promotion.

active_model_idstring required

Project's live routing pointer after promotion.