Get the current deployment status for a chat
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer macaly_... |
| Parameter | Type | Description |
|---|---|---|
chatId | string | The chat ID |
| Field | Type | Description |
|---|---|---|
id | string | null | Database deployment ID (null if never deployed) |
url | string | null | The deployment URL |
status | string | null | Vercel deployment status (see below) |
deploymentId | string | null | Vercel deployment ID |
createdAt | string | null | ISO timestamp of deployment creation |
error | string[] | null | Error messages if deployment failed |
domain | string | null | Primary domain for the deployment |
domains | array | All connected domains |
domains[].domain | string | Domain name |
domains[].verified | boolean | Whether the domain is verified |
domains[].isCustomDomain | boolean | Whether this is a custom domain |
| Status | Description |
|---|---|
QUEUED | Deployment is queued |
BUILDING | Build is in progress |
READY | Deployment successful |
ERROR | Deployment failed |
CANCELED | Deployment was cancelled |
| Status | Description |
|---|---|
| 200 | Success (even if no deployment exists, returns null fields) |
| 401 | Invalid or missing API key |
| 403 | Chat does not belong to your team |
| 404 | Chat not found |