---
title: "Get latest deployment"
method: GET
path: "/api/v1/deployments/latest"
tags: ["deployments"]
---

# Get latest deployment

`GET /api/v1/deployments/latest`

Retrieve information about the latest unmanaged deployment for the authenticated project.

## Response `200`

Successful request

- object
  - `id` string — The deployment ID
  - `status` 'PENDING' | 'INSTALLING' | 'BUILDING' | 'DEPLOYING' | 'DEPLOYED' | 'FAILED' | 'CANCELED' | 'TIMED_OUT' — The current status of the deployment
  - `contentHash` string — Hash of the deployment content
  - `shortCode` string — The short code for the deployment
  - `version` string — The deployment version (e.g., "20250228.1")
  - `imageReference` string, nullable — Reference to the deployment image
  - `errorData` object, nullable — Error data if the deployment failed

## Other responses

- `401` — Unauthorized - API key is missing or invalid
- `404` — No deployment found

---

[API](https://skmtc.net/winsenlabs/apis/trigger-dev-v3-rest-api.md) · [All operations](https://skmtc.net/winsenlabs/apis/trigger-dev-v3-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/winsenlabs/trigger-dev-v3-rest-api/versions/737c498e605b/schema)
