Deployments
Update deployment
Update mutable fields on a deployment. Uses deep-merge semantics on configuration so omitted fields are left unchanged. name and model_id cannot be changed.
PATCH
Python
Authorizations
Modular Cloud API token. Obtain from the API Tokens page.
Path Parameters
Deployment name (the URL-safe slug set at creation).
Body
application/json
Response
200 - application/json
Updated deployment.
Deployment name (the URL-safe slug).
Unique deployment identifier.
Model identifier.
Current lifecycle status of a deployment.
Available options:
unknown, non-deployed, deploying, running, unhealthy, failed, updating, scaling, terminating, terminated, image-building, image-build-failed, model-seed-failed, image-build-succeeded, scaled-to-zero, scaling-up, scaling-down Inference endpoint URL. Null until the deployment is running.
Python