Any model deployment by ID
Promotes an existing deployment to production and returns the same deployment.
Authorizations
You must specify the scheme 'Api-Key' in the Authorization header. For example, Authorization: Api-Key <Your_Api_Key>
Body
A request to promote a deployment to production.
Whether to scale down the previous production deployment after promoting
Response
A deployment of a model.
Number of active replicas
Autoscaling settings for the deployment. If null, the model has not finished deploying
Time the deployment was created in ISO 8601 format
The environment associated with the deployment
Unique identifier of the deployment
Whether the deployment is the development deployment of the model
Whether the deployment is the production deployment of the model
Unique identifier of the model
Name of the deployment
Status of the deployment
BUILDING
, DEPLOYING
, DEPLOY_FAILED
, LOADING_MODEL
, ACTIVE
, UNHEALTHY
, BUILD_FAILED
, BUILD_STOPPED
, DEACTIVATING
, INACTIVE
, FAILED
, UPDATING
, SCALED_TO_ZERO
, WAKING_UP
Was this page helpful?