---
title: "Get a deployment"
method: GET
path: "/v1/deployments/{deploymentId}"
tags: ["deployments"]
---

# Get a deployment

`GET /v1/deployments/{deploymentId}`

Get a deployment by ID

## Path parameters

- `deploymentId` string, required — The ID of the deployment

## Response `200`

The deployment details

- object
  - `id` string, required
  - `status` 'ongoing' | 'deployed' | 'failed' | 'canceled', required
  - `sourceRef` string, nullable, required
  - `sourceCommitId` string, nullable, required
  - `sourceCommitMessage` string, nullable, required
  - `authorUsername` string, nullable, required
  - `authorAvatarUrl` string, nullable, required
  - `startedAt` string, date-time, nullable, required
  - `completedAt` string, date-time, nullable, required
  - `environmentId` string, required
  - `environmentName` string, required
  - `isCurrent` boolean, required
  - `deploymentPageUrl` string, uri, nullable, required

## Other responses

- `400` — 400
- `404` — 404

## Changes

- **2026-08-11** `605de0884cc9` — 1 info
  - added the non-success response with the status `400`

[Change history](https://skmtc.dev/alpic/apis/alpic-api-2/changes/v1/deployments/:deploymentId/get.md)

---

[API](https://skmtc.dev/alpic/apis/alpic-api-2.md) · [All operations](https://skmtc.dev/alpic/apis/alpic-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/alpic/alpic-api-2/revisions/262875478562/schema)
