---
title: "Get project contents"
method: GET
path: "/api/vps/v1/virtual-machines/{virtualMachineId}/docker/{projectName}"
tags: ["VPS: Docker Manager"]
---

# Get project contents

`GET /api/vps/v1/virtual-machines/{virtualMachineId}/docker/{projectName}`

Retrieves the complete project information including the docker-compose.yml
file contents, project metadata, and current deployment status.

This endpoint provides the full configuration and state details of a specific Docker Compose project. 

Use this to inspect project settings, review the compose file, or check the overall project health.

## Path parameters

- `virtualMachineId` integer, required
- `projectName` string, required

## Response `200`

Success response

- VPSV1DockerManagerContentResource
  - `content` string — Contents of docker-compose file
  - `environment` string, nullable — Project environment variables

## Other responses

- `401` — Unauthenticated response
- `422` — Validation error response
- `500` — Error response

---

[API](https://skmtc.net/hostinger/apis/hostinger-api.md) · [All operations](https://skmtc.net/hostinger/apis/hostinger-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hostinger/hostinger-api/versions/796bd5194565/schema)
