---
title: "Get Deployment"
method: GET
path: "/v1/workflows/deployments/{name}"
tags: ["workflows.deployments"]
---

# Get Deployment

`GET /v1/workflows/deployments/{name}`

Get Deployment

## Path parameters

- `name` string, required

## Response `200`

Successful Response

- DeploymentDetailResponse
  - `id` string, uuid, required — Unique identifier of the deployment
  - `name` string, required — Deployment name
  - `is_active` boolean, required — Whether at least one worker is currently live
  - `is_hardened` boolean — Whether the deployment has at least one authorized credential
  - `created_at` string, date-time, required — When the deployment was first registered
  - `updated_at` string, date-time, required — When the deployment was last updated
  - `location` DeploymentLocation
    - `location_type` 'local' | 'k8s' | 'managed', required
    - `k8s_cluster` string, nullable — K8s cluster name, if applicable
    - `k8s_namespace` string, nullable — K8s namespace, if applicable
  - `worker_count` integer — Number of workers registered to the deployment
  - `active_worker_count` integer — Number of workers currently live within the liveness cutoff
  - `locations` LocationType[] — Distinct location types reported by the deployment's workers
  - `managed` ManagedDeploymentResponse
    - `service_id` string, required
    - `name` string, required
    - `spec` DeploymentWorkerSpecResponse, required
      - `github_url` string, required
      - `type` string
      - `revision` string, nullable
      - `entrypoint` string, nullable
      - `working_dir` string, nullable
      - `restarted_at` string, nullable
      - `commit_sha` string, nullable
    - `resources` DeploymentResourceConfig, required
      - `replicas` integer, nullable
      - `cpu_request` string, nullable
      - `cpu_limit` string, nullable
      - `memory_request` string, nullable
      - `memory_limit` string, nullable
    - `status` DeploymentObservedState, required
      - `phase` string, nullable
      - `available_replicas` integer
      - `ready_replicas` integer
      - `endpoint` string, nullable
      - `message` string, nullable
      - `last_seen` string, date-time, nullable
      - `deployed_revision` string, nullable
      - `generation` integer, nullable
      - `build_state` DeploymentBuildState
        - `phase` string, nullable
        - `commit_sha` string, nullable
        - `image` string, nullable
        - `message` string, nullable
        - `started_at` string, date-time, nullable
        - `finished_at` string, date-time, nullable
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
    - `stopped` boolean
    - `rollout_status` string, nullable
    - `created_by` string, nullable
    - `updated_by` string, nullable
    - `deployed_by` string, nullable
    - `deployed_at` string, date-time, nullable
  - `workers` DeploymentWorkerResponse[], required — Workers registered for the deployment
    - `name` string, required — Worker name
    - `created_at` string, date-time, required — When the worker first registered
    - `updated_at` string, date-time, required — When the worker last registered
    - `is_active` boolean, required — Whether this worker's liveness key is currently alive
    - `location` DeploymentLocation
      - `location_type` 'local' | 'k8s' | 'managed', required
      - `k8s_cluster` string, nullable — K8s cluster name, if applicable
      - `k8s_namespace` string, nullable — K8s namespace, if applicable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/mistral/apis/mistral-ai-api.md) · [All operations](https://skmtc.net/mistral/apis/mistral-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mistral/mistral-ai-api/revisions/933c4ebdcd72/schema)
