REST API

The daemon exposes a REST API that the dashboard and external HTTP clients use to control Stackie. The API server listens on 127.0.0.1:PORT — configure the port in ~/.stackie/stackie.yaml under api.port.

Endpoint Groups

PrefixDescription
/api/authLogin, logout, session status
/api/blocksBlock list, pull, install
/api/containersSandbox lifecycle (create, start, stop)
/api/downloadsDownload progress and history
/api/eventsSSE lifecycle event stream
/api/execCommand execution inside sandboxes
/api/networkPort allocation and forwarding
/api/packagesInstalled package queries
/api/secretsSecret value resolution
/api/settingsRead/write user settings
/api/stacksStack definition queries
/api/updateSelf-update status and trigger
/api/volumesVolume management
/api/systemDaemon info and health
/api/mockerDocker image alias resolution (Docker Engine API compatibility)

Authentication

Most endpoints require a valid session cookie or Authorization header. /api/auth/login and /api/system/health are public.