v27

latestOpenAPI 3.1.0raw.githubusercontent.com2026-04-22216424765.0 KB
gateway.openapi_Gateway

Deploy Model Version

post/v1/accounts/{account_id}/models/{model_id}/versions/{version_id}:deploy

Path parameters

account_idstring required

The Account Id

model_idstring required

The Model Id

version_idstring required

The Version Id

Request body

deploymentstring required
rolloutStrategy'ROLLOUT_STRATEGY_UNSPECIFIED' | 'ROLLOUT_STRATEGY_STANDARD' | 'ROLLOUT_STRATEGY_HOT_RELOAD' required

The rollout strategy to use when deploying the model version.

  • ROLLOUT_STRATEGY_STANDARD: Standard rollout strategy updates the deployment using a normal k8s rolling restart
  • ROLLOUT_STRATEGY_HOT_RELOAD: Hot reload rollout strategy updates the deployment by hot reloading the model version on the existing replicas of the deployment

Response

A successful response.

namestring

The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.

doneboolean

If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.