---
title: "Get a Deployment by name and version"
method: GET
path: "/v0/deployments/{name}/{version}"
---

# Get a Deployment by name and version

`GET /v0/deployments/{name}/{version}`

## Path parameters

- `name` string, required
- `version` 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
    - `runtimeConfig` object
    - `runtimeRef` 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-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
- **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-04-29** `68b97da7670c` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/agentregistry-dev/apis/agentregistry/changes/v0/deployments/:name/:version/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/e70ce4a71abe/schema)
