The Deployments API provides read and management access to every deployment record in Dokploy. You can list deployments per service, per server, or across all services in a centralized view. The API also covers preview deployments (spin-ups triggered by Git pull requests), the BullMQ queue, and rollback operations that restore a previous Docker image.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Nettalco/dokploy/llms.txt
Use this file to discover all available pages before exploring further.
Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /deployment.all | List all deployments for an application |
| GET | /deployment.allByCompose | List all deployments for a Compose stack |
| GET | /deployment.allByServer | List deployments on a specific server |
| GET | /deployment.allCentralized | List all deployments across every service |
| GET | /deployment.queueList | Get the current deployment job queue |
| GET | /deployment.allByType | Filter deployments by service type |
| POST | /deployment.killProcess | Kill a running deployment process |
| POST | /deployment.removeDeployment | Delete a deployment record |
| GET | /previewDeployment.all | List all preview deployments for an app |
| GET | /previewDeployment.one | Fetch a single preview deployment |
| POST | /previewDeployment.redeploy | Redeploy a preview deployment |
| POST | /previewDeployment.delete | Delete a preview deployment |
| POST | /rollback.rollback | Roll back to a previous deployment image |
| POST | /rollback.delete | Delete a rollback record |
Key Endpoints
GET /deployment.all
Retrieve the full deployment history for a single application.
ID of the application whose deployments to list.
Unique ID of the deployment.
Deployment status:
running, done, error, or queued.ISO timestamp of when the deployment was created.
Optional deployment label.
Path to the deployment log file on the server.
GET /deployment.allCentralized
Retrieve deployments across all services — applications and Compose stacks — in a single paginated response. Useful for building an organization-wide activity feed.
Page number (default:
1).Results per page (default:
10).POST /deployment.killProcess
Forcefully terminate a deployment that is stuck or running unexpectedly long.
ID of the deployment to kill.
Server ID if the deployment is on a remote server.
POST /rollback.rollback
Roll back an application to a previously deployed Docker image. Rollbacks are only available when rollback support is enabled on the application and a previous image tag exists.
ID of the application to roll back.
ID of the rollback record to restore.
GET /previewDeployment.all
List all preview deployments for an application, typically one per open pull request.
ID of the parent application.
Unique ID of the preview deployment.
Git branch or PR reference used for this preview.
Assigned preview domain URL.
Status:
running, done, error, or idle.Notes
Preview deployments require the application to have
isPreviewDeploymentsActive set to true. Configure this via application.update.