---
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
    - `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

- **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
- **2026-05-21** `54fc2c423f6b` — 1 info
  - added the optional property `status/raw` to the response with the `200` status
- **2026-05-13** `42b5e660a974` — 1 info
  - added the optional property `spec/deploymentRefs` to the response with the `200` status
- **2026-05-11** `9ed64a022233` — 3 warning, 3 info
  - removed the optional property `metadata/version` from the response with the `200` status
  - removed the optional property `spec/runtimeRef/version` from the response with the `200` status
  - removed the optional property `spec/targetRef/version` from the response with the `200` status
  - added the optional property `metadata/tag` to the response with the `200` status
  - …2 more
- **2026-05-09** `e70ce4a71abe` — 1 breaking, 1 warning, 2 info
  - removed the required property `spec/providerRef` from the response with the `200` status
  - removed the optional property `spec/providerConfig` from the response with the `200` status
  - added the optional property `spec/runtimeConfig` to the response with the `200` status
  - added the required property `spec/runtimeRef` 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/2405fa410fce/schema)
