---
title: "Get the latest Deployment"
method: GET
path: "/v0/deployments/{name}"
---

# Get the latest Deployment

`GET /v0/deployments/{name}`

## Path parameters

- `name` string, required

## Query parameters

- `namespace` string — Namespace (internal; defaults to 'default').

## Response `200`

OK

- Deployment
  - `apiVersion` string, required
  - `kind` string, required
  - `metadata` ObjectMeta, required
    - `annotations` object
    - `createdAt` string, date-time
    - `deletionTimestamp` string, date-time
    - `labels` object
    - `name` string, required
    - `namespace` string
    - `tag` string
    - `uid` string
    - `updatedAt` string, date-time
  - `spec` DeploymentSpec, required
    - `deploymentRefs` DeploymentRef[], nullable
      - `name` string, required
      - `namespace` string
    - `desiredState` string
    - `env` object
    - `harness` DeploymentHarness
      - `permissionMode` string
      - `type` string, required
    - `modelRef` ModelRef
      - `name` string, required
      - `namespace` string
      - `tag` string
    - `runtimeConfig` object
    - `runtimeRef` ResourceRef, required
      - `kind` string, required
      - `name` string, required
      - `namespace` string
      - `tag` string
    - `targetRef` ResourceRef, required
      - `kind` string, required
      - `name` string, required
      - `namespace` string
      - `tag` string
  - `status` Status
    - `conditions` Condition[], nullable
      - `lastTransitionTime` string, date-time
      - `message` string
      - `reason` string
      - `status` string, required
      - `type` string, required
    - `details` unknown

## Other responses

- `default` — Error

## Changes

> 53 revisions in range; 5 could not be searched.

- **2026-07-31** `d7d1aad202c6` — 1 info
  - added the optional property `spec/envFrom` to the response with the `200` status
- **2026-07-20** `ef2b95994c58` — 1 info
  - added the optional property `spec/modelRef` to the response with the `200` status
- **2026-07-10** `c0e427347223` — 1 warning
  - removed the optional property `spec/harness/version` from the response with the `200` status
- **2026-07-01** `32b14abfd174` — 1 info
  - added the optional property `spec/harness` to the response with the `200` status
- **2026-05-21** `2405fa410fce` — 1 warning, 1 info
  - removed the optional property `status/raw` from the response with the `200` status
  - added the optional property `status/details` to the response with the `200` status

[Full history](https://skmtc.dev/agentregistry-dev/apis/agentregistry/changes/v0/deployments/:name/get.md)

---

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