---
title: "Get a deployment policy"
method: GET
path: "/v2/deploymentPolicies/{deploymentPolicyId}"
tags: ["Deployment policies"]
---

# Get a deployment policy

`GET /v2/deploymentPolicies/{deploymentPolicyId}`

## Request

- Base URL: `https://api.sigmacomputing.com`
- URL: `https://api.sigmacomputing.com/v2/deploymentPolicies/{deploymentPolicyId}`
- Auth: HTTP bearer

Get details for a deployment policy.

### Usage notes
- Retrieve the `deploymentPolicyId` from the [/v2/deploymentPolicies](https://help.sigmacomputing.com/reference/list-deployments) endpoint.

## Path parameters

- `deploymentPolicyId` string, required

## Response `200`

The response body.

- DeploymentPoliciesGetDeploymentResponse200
  - `deploymentPolicyId` string, required
  - `name` string, required: Name of the deployment policy
  - `nameInTenant` string, required: Name to use for the workspace created by the deployment policy in the receiving tenant.
  - `versionTagId` string, nullable, required
  - `sourceSwapPolicies` string[], required: Unique identifiers of the source swap policies used to swap connections when deploying documents.
  - `copyInputTableData` boolean, required: Whether input table data is copied to receiving tenant organizations when deploying documents. Only applies to input tables that are editable in draft mode.
  - `useDependenciesWorkspace` boolean, required: Whether implicit dependencies are placed in a different workspace, separate from the deployment workspace.

---

[API](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api.md) - [All operations](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/revisions/fb6036208c49?raw)
