Overview
The Deployments API provides endpoints to list, monitor, and manage deployments across your applications, compose services, and servers. Each deployment represents a build and deploy operation with logs, status, and metadata.Endpoints
List Application Deployments
Retrieve all deployments for a specific application.Query Parameters
The unique identifier of the application to retrieve deployments for.
Response
Returns an array of deployment objects ordered by creation date (most recent first).Unique identifier for the deployment.
Deployment title or description.
Additional deployment description.
Current deployment status. One of:
pending, running, done, error.Associated application ID.
Path to deployment logs.
Process ID of the running deployment (if applicable).
ISO 8601 timestamp of deployment creation.
Rollback deployment information (if this deployment was rolled back).
List Compose Deployments
Retrieve all deployments for a Docker Compose service.Query Parameters
The unique identifier of the compose service to retrieve deployments for.
Response
Returns an array of deployment objects for the compose service.List Server Deployments
Retrieve all deployments for a specific server.Query Parameters
The unique identifier of the server to retrieve deployments for.
Response
Returns an array of all deployment operations on the specified server.List Deployments by Type
Retrieve deployments filtered by service type and ID.Query Parameters
The unique identifier of the service.
The type of service. One of:
application- Standard application deploymentcompose- Docker Compose serviceserver- Server deploymentschedule- Scheduled deploymentpreviewDeployment- Preview deploymentbackup- Backup operationvolumeBackup- Volume backup operation
Response
Returns an array of deployments matching the specified type and ID, including rollback information.Array of deployment objects.
Kill Deployment Process
Terminate a running deployment by killing its process.Request Body
The ID of the deployment process to terminate.
Response
The deployment status will be updated toerror and the process will be killed using kill -9.
If the deployment is running on a remote server, the kill command will be executed remotely via SSH.
Remove Deployment
Permanently delete a deployment record.Request Body
The ID of the deployment to remove.
Removing a deployment only deletes the deployment record and logs. It does not affect the running application or service.
Deployment States
Deployments transition through the following states:- pending - Deployment is queued and waiting to start
- running - Deployment is currently in progress
- done - Deployment completed successfully
- error - Deployment failed or was terminated
Monitoring Deployments
You can monitor deployment progress by:- Polling the deployment endpoints to check status changes
- Reading deployment logs from the
logPathfield - Monitoring the
pidfield for running deployments - Checking the
createdAttimestamp to track deployment duration