Skip to main content

Get Deployment Logs

Retrieve all deployments for a specific application, compose project, or server.

GET /deployment.all

Get all deployments for an application.
string
required
The unique identifier of the application

Authentication

This endpoint requires authentication using an API key or session token.

Example Request

Example Response


Get Deployments by Compose

GET /deployment.allByCompose

Retrieve all deployments for a Docker Compose project.
string
required
The unique identifier of the compose project

Example Request


Get Deployments by Server

GET /deployment.allByServer

Retrieve all deployments for a specific server.
string
required
The unique identifier of the server

Example Request


Get Deployments by Type

GET /deployment.allByType

Retrieve deployments filtered by resource type.
string
required
The unique identifier of the resource
string
required
The type of deployment resourceAllowed values:
  • application
  • compose
  • server
  • schedule
  • previewDeployment
  • backup
  • volumeBackup

Example Request


Kill Deployment Process

POST /deployment.killProcess

Terminate a running deployment process.
string
required
The unique identifier of the deployment to terminate

Example Request

Example Response


Read Request Statistics

POST /settings.readStatsLogs

Retrieve access logs and request statistics with filtering and pagination.
This endpoint is disabled on Dokploy Cloud instances.
number
Page number for pagination (default: 1)
object
Sorting configuration for results
Search term to filter logs
string
Filter logs by HTTP status code
object
Date range filter for logs
string
Start date in ISO format
string
End date in ISO format

Example Request

Example Response


Toggle Request Logging

POST /settings.toggleRequests

Enable or disable request logging in Traefik.
This endpoint is disabled on Dokploy Cloud instances.
boolean
required
Set to true to enable request logging, false to disable

Example Request

Example Response


Check Active Requests

GET /settings.haveActivateRequests

Check if request logging is currently enabled.

Example Request

Example Response