---
title: "List env file paths"
method: GET
path: "/api/stacks/{stackName}/envs"
tags: ["Stacks"]
---

# List env file paths

`GET /api/stacks/{stackName}/envs`

Returns the list of environment file paths referenced in the stack's compose file (`env_file` directives).

## Path parameters

- `stackName` string, required

## Headers

- `x-node-id` integer

## Response `200`

List of env file paths.

- object
  - `envFiles` string[], required

## 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)
