---
title: "GET /api/v1/deployment-targets/{deploymentTargetId}"
method: GET
path: "/api/v1/deployment-targets/{deploymentTargetId}"
tags: ["Controllers"]
---

# GET /api/v1/deployment-targets/{deploymentTargetId}

`GET /api/v1/deployment-targets/{deploymentTargetId}`

## Request

- Base URL: `https://app.distr.sh` (the document declares no server; this is the origin it was published from)
- URL: `https://app.distr.sh/api/v1/deployment-targets/{deploymentTargetId}`
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer

Get a deployment target

## Path parameters

- `deploymentTargetId` string, required

## Response `200`

OK

- TypesDeploymentTargetFull
  - `autohealEnabled` boolean
  - `automaticUpdatesEnabled` boolean
  - `controllerVersion` object
    - `createdAt` string, date-time
    - `id` string
    - `name` string
  - `createdAt` string, date-time
  - `customerOrganization` object, nullable
    - `createdAt` string, date-time
    - `features` string[]
    - `id` string
    - `imageId` string, nullable
    - `name` string
    - `organizationId` string
    - `partnerOrganizationId` string, nullable
  - `customerOrganizationId` string, nullable
  - `deploymentLogsAfter` string, date-time, nullable
  - `deploymentLogsEnabled` boolean
  - `deployments` TypesDeploymentWithLatestRevision[]
    - `application` object
      - `allowAutomaticUpdates` boolean
      - `createdAt` string, date-time
      - `id` string
      - `imageId` string, nullable
      - `name` string
      - `type` string
      - `versioningStrategy` string
      - `versions` TypesApplicationVersion[]
        - `applicationId` string
        - `archivedAt` string, date-time, nullable
        - `chartName` string, nullable
        - `chartType` string, nullable
        - `chartUrl` string, nullable
        - `chartVersion` string, nullable
        - `createdAt` string, date-time
        - `id` string
        - `linkTemplate` string
        - `name` string
        - `resources` TypesApplicationVersionResource[]
          - `applicationVersionId` string
          - `content` string
          - `id` string
          - `name` string
          - `visibleToCustomers` boolean
    - `applicationEntitlementId` string, nullable
    - `applicationId` string
    - `applicationLink` string
    - `applicationName` string
    - `applicationVersionId` string
    - `applicationVersionName` string
    - `automaticApplicationUpdatesEnabled` boolean
    - `createdAt` string, date-time
    - `currentApplicationVersionId` string, nullable
    - `currentApplicationVersionName` string, nullable
    - `currentDeploymentRevisionId` string, nullable
    - `currentStatus` object, nullable
      - `createdAt` string, date-time
      - `deploymentRevisionId` string
      - `message` string
      - `type` string
    - `deploymentRevisionCreatedAt` string, date-time
    - `deploymentRevisionId` string
    - `deploymentTargetId` string
    - `dockerType` string, nullable
    - `envFileData` string, byte
    - `forceRestart` boolean
    - `helmOptions` object, nullable
      - `cleanupOnFailure` boolean
      - `forceConflicts` boolean
      - `rollbackOnFailure` boolean
      - `timeout` integer
      - `waitStrategy` string
    - `id` string
    - `ignoreRevisionSkew` boolean
    - `latestStatus` object, nullable
      - `createdAt` string, date-time
      - `deploymentRevisionId` string
      - `message` string
      - `type` string
    - `releaseName` string, nullable
    - `valuesYaml` string, byte
  - `dockerEndpoint` string, nullable
  - `id` string
  - `imageCleanupEnabled` boolean
  - `metricsEnabled` boolean
  - `name` string
  - `namespace` string, nullable
  - `reconnectPending` boolean
  - `reportedControllerVersionId` string, nullable
  - `resources` object, nullable
    - `cpuLimit` string
    - `cpuRequest` string
    - `memoryLimit` string
    - `memoryRequest` string
  - `scope` string, nullable
  - `type` string

---

[API](https://skmtc.dev/distr/apis/distr-api-reference.md) - [All operations](https://skmtc.dev/distr/apis/distr-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/distr/apis/distr-api-reference/revisions/7dcafe205f83?raw)
