v52

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-03269339953.6 KB
VPS: Docker Manager

Get project logs

Retrieves aggregated log entries from all services within a Docker Compose project.

This endpoint returns recent log output from each container, organized by service name with timestamps. The response contains the last 300 log entries across all services.

Use this for debugging, monitoring application behavior, and troubleshooting issues across your entire project stack.

get/api/vps/v1/virtual-machines/{virtualMachineId}/docker/{projectName}/logs

Path parameters

virtualMachineIdinteger required
Example:1268054

Virtual Machine ID

projectNamestring required
Example:my-docker-project

Docker Compose project name using alphanumeric characters, dashes, and underscores only

Response

Success response

servicestring

Name of the Docker Compose service that generated these log entries

Example response

[
  {
    "service": "web",
    "entries": [
      {
        "timestamp": "2024-01-15T10:30:45.123456Z",
        "line": "127.0.0.1 - - [15/Jan/2024:10:30:45 +0000] \"GET / HTTP/1.1\" 200 612"
      }
    ]
  }
]