GET /api/config — View Configuration
Returns the full server configuration as flattened dot-notation key-value pairs. Sensitive values (API keys, passwords, tokens) are redacted by default. Query parameters:| Parameter | Type | Default | Description |
|---|---|---|---|
filter | string | Substring match on key name | |
show_sensitive | string | false | Set to true to show unredacted sensitive values |
POST /api/config — Update Configuration
Updates one or more configuration values using dot-notation keys. Values are coerced to match the existing field type (bool, int, float, string, or comma-separated list). Changes are persisted to the config file on disk. Reloadable sections (scope, notify, audit, mutation_strategy) take effect immediately. Server and database changes require a restart. Request body: JSON object mapping dot-notation keys to string values.Config Hot Reload
The server watches the config file (~/.vigolium/vigolium-configs.yaml) for changes. When the file is modified — whether by a text editor, the CLI (vigolium config set), or any other tool — reloadable sections are automatically applied without restarting the server.
Reloadable sections: scope, notify, audit, mutation_strategy
Non-reloadable sections: server, database (a warning is logged; restart required)
Changes made via the API (POST /api/config, POST /api/scope) do not trigger a redundant reload.