When running a deployment via the API, the response basically just says that the deployment has been queued but there's no way to check the deployment status or get the logs.
Ideally, triggering a deployment would return an id of some sort that can be used on a later request to check the deployment status and its logs (stdout and stderr).
I was wondering, isn't the status column in a site resource showing what you want? That one will display active, deploy-failed, etc.: https://developers.ploi.io/27-getting-started/1375-resource-statuses
Ideally, new endpoints at https://ploi.io/api/servers/{server}/sites/{site}/deployments would be great so we can track the status of each deployment.
This is live: deploying a site now returns a deployment_id. Follow that deployment with the new Get deployment endpoint (GET /api/servers/{server}/sites/{site}/deployments/{deployment}): its status is deploying while it runs and success or failed once it finished, with a log_url to the output. List deployments and Get deployment log are documented as well. The deploy-site tool of the MCP server returns the deployment ID too, and the new get-deployment tool reports its status.