---
title: "List successful app deployments and identify the current one"
method: GET
path: "/api/apps/{app_id}/deployments"
tags: ["apps"]
---

# List successful app deployments and identify the current one

`GET /api/apps/{app_id}/deployments`

## Request

- Base URL: `https://api.monacloud.vn`
- URL: `https://api.monacloud.vn/api/apps/{app_id}/deployments`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Token`

Đọc dữ liệu tại `/api/apps/{app_id}/deployments`. Phản hồi dùng JSON và tuân theo schema được công bố bên dưới. Repo public HTTPS hoặc source=upload → job Dokploy → URL HTTPS / Deploy public git or local archives via Dokploy. Poll /api/jobs/{id} tới succeeded/failed. App host dùng billing LXC Wave A; app không tính thêm phí. POST /api/app-hosts với {} dùng 2 CPU/2 GB RAM/30 GB disk; hỗ trợ billing_mode monthly + plan_code + period. X-Vibecloud-Sandbox: 1 trên /api/apps tạo URL giả, trả estimated_app_host và charged_vnd=0. PUT env thay toàn bộ env, cần POST deploy để áp dụng. Custom domain trả CNAME và SSL pending. Xoá app giữ host; xoá /api/services/{app_host_id} để ngừng phí.

## Path parameters

- `app_id` string, required

## Headers

- `X-Vibecloud-Sandbox` '1'

## Response `200`

Successful Response

- AppDeploymentResponse[]
  - `seq` integer, required
  - `app_id` string, required
  - `source_type` 'git' | 'upload', required
  - `git_commit` string, nullable
  - `upload_ref` string, nullable
  - `dokploy_deployment_id` string, nullable
  - `url` string, required
  - `status` 'done', required
  - `created_at` string, date-time, required
  - `current` boolean
  - `rolled_back_from` integer, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/monacloud/apis/mona-cloud-api-compute-truoc-ay-vibecloud.md) · [All operations](https://skmtc.dev/monacloud/apis/mona-cloud-api-compute-truoc-ay-vibecloud/llms.txt) · [OpenAPI document](https://skmtc.dev/monacloud/apis/mona-cloud-api-compute-truoc-ay-vibecloud/revisions/34a120ed37ce?raw)
