---
title: "Get deployment status"
method: GET
path: "/v0/api/deployments/{deploymentId}"
tags: ["Deployments"]
---

# Get deployment status

`GET /v0/api/deployments/{deploymentId}`

## Request

- Base URL: `https://api.anything.com`
- URL: `https://api.anything.com/v0/api/deployments/{deploymentId}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/anything/apis/anything-api/docs/v0/api/deployments/:deploymentId/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns the current state of a deployment, including build logs if available.

## Path parameters

- `deploymentId` string, uuid, required

## Response `200`

Deployment detail

- object
  - `deployment` object, required
    - `id` string, uuid, required
    - `projectGroupId` string, uuid, required
    - `status` 'PENDING' | 'BUILDING' | 'DEPLOYING' | 'SUCCESS' | 'FAILED', required
    - `url` string, nullable, required: Public URL where the app is served. Null until the deployment succeeds.
    - `createdAt` string, date-time, required
    - `completedAt` string, date-time, nullable, required
    - `buildLogs` string, nullable, required
    - `failureReason` string, nullable, required

## Other responses

- `400`: Invalid request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Deployment not found

---

[API](https://skmtc.dev/anything/apis/anything-api.md) - [All operations](https://skmtc.dev/anything/apis/anything-api/llms.txt) - [OpenAPI document](https://skmtc.dev/anything/apis/anything-api/revisions/1475488f3446?raw)
