Save config changes
Applies a patch of dotted keys to config.toml and returns the new
config state. Comments and key order in the file survive. Send the
etag from the last GET /api/config; if the file changed since, the
save is refused with the current etag. The save is also refused if it
would add a problem the file did not already have. pdf.ocr_command
cannot be set, changed or removed from the dashboard.
Request
The etag from the last GET /api/config.
Dotted keys (hook.threshold) to values. A null value removes the key, the same as listing it in unset.
Response
Saved. The body is the new config state, as GET /api/config returns it.
The path of config.toml.
sha256 of the file’s bytes as hex, or "" when there is no file. Send it back on save.
The whole config rhebok runs with, every default filled in. Keys
that look like secrets are removed. Dotted paths into this object
are the keys of a save’s set.
The ranking weights the hook and MCP each use after per-surface overrides.
Only what config.toml itself sets. {} when there is no file, null when it does not parse.
The config with nothing set, in the same shape as effective.