---
title: "Gets a chain deployment by ID"
method: GET
path: "/v1/chains/{chain_id}/deployments/{chain_deployment_id}"
---

# Gets a chain deployment by ID

`GET /v1/chains/{chain_id}/deployments/{chain_deployment_id}`

## Response `200`

- ChainDeploymentV1 — A deployment of a chain.
  - `id` string, required — Unique identifier of the chain deployment
  - `created_at` string, date-time, required — Time the chain deployment was created in ISO 8601 format
  - `chain_id` string, required — Unique identifier of the chain
  - `environment` string, nullable, required — Environment the chain deployment is deployed in
  - `chainlets` ChainletV1[], required — Chainlets in the chain deployment
    - `id` string, required — Unique identifier of the chainlet
    - `name` string, required — Name of the chainlet
    - `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, required — Name of the instance type the chainlet is deployed on
    - `active_replica_count` integer, required — Number of active replicas
    - `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.
  - `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.

---

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