---
title: "List all stacks"
method: GET
path: "/api/stacks"
tags: ["Stacks"]
---

# List all stacks

`GET /api/stacks`

Returns an array of stack directory names on the target node.

## Query parameters

- `nodeId` integer

## Headers

- `x-node-id` integer

## Response `200`

Array of stack names.

- string[]

## Other responses

- `401` — Authentication required. Provide a valid Bearer token.
- `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)
