---
title: "List deployments"
method: GET
path: "/v1/projects/{project_id}/deployments"
---

# List deployments

`GET /v1/projects/{project_id}/deployments`

## Request

- Base URL: `https://app.ohmyho.st`
- URL: `https://app.ohmyho.st/v1/projects/{project_id}/deployments`
- Auth: HTTP bearer

## Path parameters

- `project_id` string, required

## Query parameters

- `cursor` string
- `limit` integer

## Headers

- `X-Request-Id` string

## Response `200`

One page of project deployments in stable descending order.

- DeploymentPage
  - `items` Deployment[], required
    - `id` string, required
    - `project_id` string, required
    - `operation_id` string, required
    - `commit_sha` string, required: Exact full Git commit object identifier; abbreviated or branch references are forbidden.
    - `source_digest` string, required
    - `build_plan_digest` string, required
    - `artifact_digest` string
    - `status` 'queued' | 'building' | 'publishing' | 'active' | 'failed' | 'rolled_back' | 'deleting' | 'deleted' | 'reconciliation_required', required
    - `url` string, uri: Project-isolated public gateway URL for the observed deployment.
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
  - `next_cursor` string, nullable

## Other responses

- `400`: The request failed.
- `401`: The request failed.
- `403`: The request failed.
- `404`: The resource does not exist or is not visible to the authenticated principal.
- `429`: The request failed.
- `503`: The request failed.

---

[API](https://skmtc.dev/ohmyho/apis/ohmyho-st-api.md) · [All operations](https://skmtc.dev/ohmyho/apis/ohmyho-st-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ohmyho/apis/ohmyho-st-api/revisions/d069888c0017?raw)
