---
title: "Get stack compose file"
method: GET
path: "/api/stacks/{stackName}"
tags: ["Stacks"]
---

# Get stack compose file

`GET /api/stacks/{stackName}`

Returns the raw `compose.yaml` content for the specified stack.

## Path parameters

- `stackName` string, required

## Headers

- `x-node-id` integer

## Response `200`

Raw compose.yaml content.

## Other responses

- `400` — Invalid stack name.
- `500` — Internal server error.

---

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