---
title: "List the version"
method: GET
path: "/projects/{projectId}/environments/{environmentId}/versions/{versionId}"
tags: ["Environment"]
---

# List the version

`GET /projects/{projectId}/environments/{environmentId}/versions/{versionId}`

List the `{versionId}` version.
A routing percentage for this version may be specified for staged rollouts
(if the deployment target supports it).

## Path parameters

- `projectId` string, required
- `environmentId` string, required
- `versionId` string, required

## Response `default`

- Version
  - `id` string, required — The identifier of Version
  - `commit` string, nullable, required — The SHA of the commit of this version
  - `locked` boolean, required — Whether this version is locked and cannot be modified
  - `routing` object, required — Configuration about the traffic routed to this version
    - `percentage` integer, required — The percentage of traffic routed to this version

---

[API](https://skmtc.net/upsun/apis/upsun-com-rest-api.md) · [All operations](https://skmtc.net/upsun/apis/upsun-com-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/upsun/upsun-com-rest-api/revisions/6cc88fde6435/schema)
