---
title: "Gets a model's deployment by ID"
method: GET
path: "/v1/models/{model_id}/deployments/{deployment_id}"
---

# Gets a model's deployment by ID

`GET /v1/models/{model_id}/deployments/{deployment_id}`

Gets a model's deployment by ID and returns the deployment.

## Response `200`

- DeploymentV1 — A deployment of a model.
  - `id` string, required — Unique identifier of the deployment
  - `created_at` string, date-time, required — Time the deployment was created in ISO 8601 format
  - `name` string, required — Name of the deployment
  - `model_id` string, required — Unique identifier of the model
  - `is_production` boolean, required — Whether the deployment is the production deployment of the model
  - `is_development` boolean, required — Whether the deployment is the development deployment of the model
  - `status` 'BUILDING' | 'DEPLOYING' | 'DEPLOY_FAILED' | 'LOADING_MODEL' | 'ACTIVE' | 'UNHEALTHY' | 'BUILD_FAILED' | 'BUILD_STOPPED' | 'DEACTIVATING' | 'INACTIVE' | 'FAILED' | 'UPDATING' | 'SCALED_TO_ZERO' | 'WAKING_UP', required — The status of a deployment.
  - `active_replica_count` integer, required — Number of active replicas
  - `autoscaling_settings` AutoscalingSettingsV1, required — Autoscaling settings for a deployment.
    - `min_replica` integer, required — Minimum number of replicas
    - `max_replica` integer, required — Maximum number of replicas
    - `autoscaling_window` integer, nullable, required — Timeframe of traffic considered for autoscaling decisions
    - `scale_down_delay` integer, nullable, required — Waiting period before scaling down any active replica
    - `concurrency_target` integer, required — Number of requests per replica before scaling up
    - `target_utilization_percentage` integer, nullable, required — Target utilization percentage for scaling up/down.
    - `target_in_flight_tokens` integer, nullable — Target number of in-flight tokens for autoscaling decisions. Early access only.
    - `max_scale_down_rate` integer, nullable — Maximum percentage of replicas that can be removed per autoscaling window (1–50). E.g. 20 means at most 20% of replicas are removed per window.
  - `instance_type_name` string, nullable, required — Name of the instance type the model deployment is running on
  - `environment` string, nullable, required — The environment associated with the deployment
  - `labels` object, nullable — User-provided key-value labels for the deployment

---

[API](https://skmtc.net/baseten/apis/baseten-inference-api.md) · [All operations](https://skmtc.net/baseten/apis/baseten-inference-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/baseten/baseten-inference-api/versions/a55a2f64c3c5/schema)
