Stacks

Get env file content

Returns the content of an environment file. Defaults to .env if no file query parameter is specified.

get/api/stacks/{stackName}/env

Path parameters

stackNamestring required
Example:my-stack

Stack directory name (URL-encoded if it contains special characters).

Query parameters

filestring

Path to a specific env file (must be in the resolved env files list).

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.

Response

Raw env file content (KEY=VALUE format).

Changes