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

# Get latest deployment

`GET /api/v1/deployments/latest`

## Request

- Base URL: `https://api.trigger.dev`
- URL: `https://api.trigger.dev/api/v1/deployments/latest`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/triggerdotdev/apis/trigger-dev-v3-rest-api/docs/api/v1/deployments/latest/get.ts> (a function with typed inputs; its response is checked against the schema)

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

## Changes

- **2026-01-30** `081d78e002cb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/triggerdotdev/apis/trigger-dev-v3-rest-api/changes/api/v1/deployments/latest/get.md)

---

[API](https://skmtc.dev/triggerdotdev/apis/trigger-dev-v3-rest-api.md) - [All operations](https://skmtc.dev/triggerdotdev/apis/trigger-dev-v3-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/triggerdotdev/apis/trigger-dev-v3-rest-api/revisions/441161111493?raw)
