---
title: "Read app status, URL, last deployment and app host"
method: GET
path: "/api/apps/{app_id}"
tags: ["apps"]
---

# Read app status, URL, last deployment and app host

`GET /api/apps/{app_id}`

## Request

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

Đọc dữ liệu tại `/api/apps/{app_id}`. 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

- AppResponse
  - `id` string, required
  - `name` string, required
  - `source` 'git' | 'upload'
  - `repo_url` string, nullable
  - `branch` string, required
  - `build_type` string, nullable
  - `detected_build` 'dockerfile' | 'nixpacks' | 'static', nullable
  - `status` 'awaiting_upload' | 'queued' | 'deploying' | 'done' | 'error' | 'deleted', required
  - `url` string, required
  - `application_id` string, nullable
  - `app_host` object, nullable
  - `last_deploy` object, nullable
  - `domains` object[]
  - `errorMessage` string, nullable
  - `sandbox` boolean
  - `expires_at` string, date-time, nullable
  - `created_at` string, date-time, nullable
  - `updated_at` string, date-time, 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)
