---
title: "List deployments"
method: GET
path: "/api/v1/deployments"
tags: ["deployments"]
---

# List deployments

`GET /api/v1/deployments`

List deployments for the authenticated environment, ordered by most recent first.

## Query parameters

- `page[after]` string
- `page[size]` integer
- `status` 'PENDING' | 'BUILDING' | 'DEPLOYING' | 'DEPLOYED' | 'FAILED' | 'CANCELED' | 'TIMED_OUT'
- `period` string
- `from` string
- `to` string

## Response `200`

Successful request

- object
  - `data` object[]
    - `id` string — The deployment ID
    - `createdAt` string, date-time — When the deployment was created
    - `shortCode` string — The short code for the deployment
    - `version` string — The deployment version (e.g., "20250228.1")
    - `runtime` string, nullable — The runtime used (e.g., "node")
    - `runtimeVersion` string, nullable — The runtime version
    - `status` 'PENDING' | 'BUILDING' | 'DEPLOYING' | 'DEPLOYED' | 'FAILED' | 'CANCELED' | 'TIMED_OUT' — The current status of the deployment
    - `deployedAt` string, date-time, nullable — When the deployment was promoted to DEPLOYED
    - `git` object, nullable — Git metadata associated with the deployment
    - `error` object, nullable — Error data if the deployment failed
  - `pagination` object
    - `next` string — Cursor for the next page. Pass as `page[after]` to get the next page. Omitted if there are no more results.

## Other responses

- `401` — Unauthorized - Access token is missing or invalid

---

[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)
