Menu
CLI

reflexio config

View and update server configuration and storage credentials.

Inspect and modify the server-side configuration: extractor settings, LLM models, storage routing, and credentials.

Server commands call the backend (GET /api/config, POST /api/set_config, GET /api/my_config) and require a reachable server. config local and config upgrade-file run offline.

In the open-source local setup, all subcommands apply. Use config show to inspect current settings and config set to patch extractor, LLM, playbook, and evaluation settings directly.


Command: reflexio config show

Print the current server configuration.

Terminal
reflexio config show [--all]
PropTypeDefaultDescription
--all?flagfalseInclude unset optional fields with their defaults. By default, fields that are None / unset are hidden.
Terminal
reflexio config show
reflexio config show --all | jq '.profile_extractor_config'

Command: reflexio config set

Update the server configuration by sending a JSON patch. Exactly one of --data or --file is required.

Terminal
reflexio config set (--data '<json>' | --file <path>)
PropTypeDefaultDescription
--data?strnoneInline JSON patch, or `@path/to/file.json` to read from disk. Mutually exclusive with --file.
--file?pathnonePath to a JSON config file. Mutually exclusive with --data.
Terminal
# Inline patch
reflexio config set --data '{"profile_window_size": 20, "profile_stride_size": 8}'

# Load from a file
reflexio config set --file configs/production.json

# Using @path syntax with --data
reflexio config set --data @configs/production.json

Command: reflexio config storage

Show the storage credentials an authenticated deployment has on file for your organization. Calls GET /api/my_config and exits nonzero if export fails. For local SQLite, use reflexio status whoami for a masked routing summary or reflexio config show to inspect the saved configuration.

Terminal
reflexio config storage [--reveal]
PropTypeDefaultDescription
--reveal?flagfalsePrint the raw credentials instead of the masked summary. Prompts for confirmation first.

The default output masks secrets so it's safe to paste into bug reports. Pass --reveal when copying credentials to a new machine — you'll be asked to confirm before anything unmasked reaches the terminal.


Command: reflexio config upgrade-file

Write a canonical copy of a complete saved organization configuration JSON file. This command runs offline without connecting to a backend or changing your local .env file.

Terminal
reflexio config upgrade-file config.old.json --output config.canonical.json

Both paths are explicit and must differ. The original file remains unchanged; an existing output file is replaced atomically. The output file uses restrictive permissions (0600 on POSIX), because it can contain credentials. The command prints its output path, not the configuration contents.

The converter preserves effective policy and opaque extension metadata, rewrites legacy extractor/aggregator names and resolves old optimizer switches. It records the validated storage backend tag before dropping obsolete HTTP credentials. For the retired optimizer early_stop_score, conversion explicitly adopts publication-quality stopping: it removes the independent search aspiration, preserving the quality thresholds and metric-call budget. This changes exploration and needs review before activating the output for an enabled optimizer. Runtime reads and writes reject the old setting for both enabled and disabled optimizers; historical validation and removal belong only to migration.

Invalid recognized settings or ambiguous storage identity fail before the output is replaced.

This prepares a copy for review; it does not activate the output, rewrite stored organization rows or retire compatibility in a running server. Keep the original for rollback and select the converted file explicitly when ready.