Stopping and starting a Model Deployment using API
Stop and start internal model deployments by using the REST API to manage replica availability and release compute resources when inference services are idle..
You can stop a model deployment when it is not needed and start it again later. While stopped, the deployment does not serve inference requests.
curl -s -X POST -H "Content-Type: application/json" -H "Authorization: Bearer ${AWC_TOKEN}" "https://${DOMAIN}/api/v1/deployments/[***DEPLOYMENT_ID***]:stop" -d '{}'
curl -s -X POST -H "Content-Type: application/json" -H "Authorization: Bearer ${AWC_TOKEN}" "https://${DOMAIN}/api/v1/deployments/[***DEPLOYMENT_ID***]:start" -d '{}'
Start and stop requests are not supported for deployments of third-party models because these deployments do not manage replicas.
