Skip to content

Get Live Deployment Status

GET
/deployments/{deployment_id}/live-status
curl --request GET \
--url https://api.mengi.cloud/deployments/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/live-status

Get real-time ArgoCD status for a deployment.

This endpoint queries ArgoCD directly for the current application status, which is more up-to-date than the database status. If the ArgoCD status differs from the database, it will update the database accordingly.

Use cases:

  • Checking status during PROVISIONING without waiting for hourly sync
  • Getting immediate feedback after deployment changes
  • Debugging deployment issues with real ArgoCD status

Returns: LiveStatusResponse with both DB status and live ArgoCD status

deployment_id
required
Deployment Id
string format: uuid

Successful Response

Media type application/json
LiveStatusResponse

Response for live ArgoCD status check.

object
deployment_id
required
Deployment Id
string
db_status
required
Db Status
string
argocd_status
required
Argocd Status
object
key
additional properties
any
status_updated
required
Status Updated
boolean
endpoint_url
Any of:
string
error_message
Any of:
string
Example generated
{
"deployment_id": "example",
"db_status": "example",
"argocd_status": {},
"status_updated": true,
"endpoint_url": "example",
"error_message": "example"
}

Validation Error

Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Example generated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}