Deployments
Get deployment
Get details for a single deployment, including current status and endpoint URL.
GET
Python
Authorizations
Modular Cloud API token. Obtain from the API Tokens page.
Path Parameters
Deployment name (the URL-safe slug set at creation).
Response
200 - application/json
Deployment details.
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