Set the remote embedding endpoint
Writes RHEBOK_EMBED_URL, RHEBOK_EMBED_MODEL and RHEBOK_EMBED_TOKEN
to the env file beside config.toml and returns the new config
state. A field you leave out is not changed; null or a blank string
removes it. While a URL is in effect, a model and a token must also be
in effect. A value set in the process environment wins over the file.
Request
The endpoint’s base URL (RHEBOK_EMBED_URL).
The model name to send (RHEBOK_EMBED_MODEL).
The Bearer token (RHEBOK_EMBED_TOKEN). It is write-only.
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.