v34

latestOpenAPI 3.1.0AGPL-3.0-onlyraw.githubusercontent.com2026-08-018932140.9 KB
Stacks

Create a new stack

Creates a new stack directory with a default compose.yaml file.

post/api/stacks

Headers

x-node-idinteger
Example:1

Target a specific node by ID. If omitted, the default node is used. Can also be passed as ?nodeId= query parameter.

Request body

stackNamestring required

Stack name. Alphanumeric characters, hyphens, and underscores only.

Example request

{
  "stackName": "my-new-stack"
}

Response

Stack created.

messagestring required
namestring required

Example response

{
  "message": "Stack created successfully",
  "name": "my-new-stack"
}