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

# Get the latest version of a 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
    - `uid` string
    - `updatedAt` string, date-time
    - `version` string
  - `spec` DeploymentSpec, required
    - `desiredState` string
    - `env` object
    - `providerConfig` object
    - `providerRef` ResourceRef, required
      - `kind` string, required
      - `name` string, required
      - `namespace` string
      - `version` string
    - `targetRef` ResourceRef, required
      - `kind` string, required
      - `name` string, required
      - `namespace` string
      - `version` string
  - `status` Status
    - `conditions` Condition[], nullable
      - `lastTransitionTime` string, date-time
      - `message` string
      - `reason` string
      - `status` string, required
      - `type` string, required

## Other responses

- `default` — Error

## Changes

- **2026-05-07** `1f7dac4e4622` — 2 breaking
  - the response property `errors` became nullable for the status `default`
  - the response property `status/conditions` became nullable for the status `200`
- **2026-05-06** `844352c0303e` — 1 info
  - added the optional property `metadata/uid` to the response with the `200` status
- **2026-05-01** `051070ab6061` — 1 warning
  - removed the optional property `spec/preferRemote` from the response with the `200` status
- **2026-03-02** `cd40eb4cf442` — 5 breaking, 3 warning, 16 info
  - the `status` response's property type changed from `object` to `string` for status `200`
  - removed the required property `apiVersion` from the response with the `200` status
  - removed the required property `kind` from the response with the `200` status
  - removed the required property `metadata` from the response with the `200` status
  - …20 more

[Change 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/1f7dac4e4622/schema)
