Get Live Deployment Status
GET
/deployments/{deployment_id}/live-status
const url = 'https://api.mengi.cloud/deployments/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/live-status';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.mengi.cloud/deployments/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/live-statusGet 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
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” deployment_id
required
Deployment Id
string format: uuid
Responses
Section titled “ Responses ”Successful Response
Media type application/json
LiveStatusResponse
Response for live ArgoCD status check.
object
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>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example" } ]}