gateway.openapi_Gateway

Promote a checkpoint to a model. The checkpoint is identified by account + snapshot ID; the trainer job ID is passed in the request body to resolve the GCS bucket.

Changed on
post/v1/accounts/{account_id}/checkpoints/{checkpoint_id}:promote

Request

Path parameters

account_idstring required

The Account Id

checkpoint_idstring required

The Checkpoint Id

Request body

outputModelstring required
trainerJobIdstring
baseModelstring required
hotLoadDeploymentIdstring
asyncPromotionboolean

Optional request-level opt-in for long-running checkpoint promotion. When false or unset, the server preserves the legacy synchronous response shape and returns model. When true, the server may return operation; callers must poll GetOperation until completion and read the promoted model from the operation response.

Response

A successful response.

Changes