buttons serve
Run a REST API server exposing buttons over HTTPSynopsis
Start an HTTP server that exposes your buttons as a REST API, using the same structured-output contract and execution path as the CLI. Endpoints:<key>’.
The key comes from —api-key, else the ‘API_KEY’ battery, else $BUTTONS_API_KEY.
With no key the server runs auth-free and therefore binds to loopback only —
binding a non-loopback host without a key is refused.
Buttons created via the CLI while the server runs are picked up immediately
(state is read from disk per request).
Examples:
Options
Options inherited from parent commands
SEE ALSO
- buttons - Deterministic workflow engine for agents