Skip to main content
On this page

Platform settings

Administrators set instance defaults under System Settings in the sidebar's System group. Users override most defaults in user settings. Piping resolves the effective value for each user on request.

How a value is resolved

Every setting key resolves through three layers, strongest first:

LayerSet byStored
User overrideThe user, in user settingsServer database, per user
Instance defaultAn administrator, in System SettingsServer database, one row per key
Built-in defaultShipped with the productSetting registry in the web UI

A user override always beats the instance default; if neither exists, the built-in default applies. Each catalog row carries a source badge — user, instance, or default — showing which layer currently supplies the value. The API exposes the same resolution at GET /api/v1/settings/effective, returning the merged value together with both raw layers (user_value, instance_value) and the source.

Tip: Appearance settings (app.theme, app.language, ui.scale) are additionally mirrored to browser localStorage, so the right theme, language, and scale apply on page load before the first API response arrives.

Persistence classes

Not every setting lives on the server. Each definition declares one of three persistence classes:

ClassWhere it livesScope
serverPiping databaseFollows the user across browsers and devices
browserBrowser localStorageThis browser only; never sent to the server
sessionBrowser sessionStorageThis tab only

Instance defaults apply only to server settings. Local browser and session entries, such as the SSH file-browser layout and restored session tabs, appear only in the user catalog.

Categories

The catalog is grouped into five fixed categories:

CategoryContents
AppearanceTheme, interface language, UI scale
ConnectionsConnection-tree grouping and collapsed state, SSH file-browser layout
WorkspaceSaved workspace filters, panel layout, restored session tabs
AssistantBuilt-in assistant instance configuration and window placement
DataTable page size

Notable settings

Selected keys (see the catalog for the full list):

KeyControlNotes
app.themeselectlight, dark, or system
app.languageselecten or ru
ui.scaleselectGlobal UI scale, 90–150%
table.page_sizeselectDefault rows per page in tables (25–200)
connections.tree.configJSONTree grouping: mode, level order (site/tenant/role), quick-access buttons
assistant.windowJSONAssistant window dock (right/left/bottom/floating) and size

JSON-valued settings are edited as raw JSON in the catalog; the editor validates syntax before saving. Every row has a Reset button that removes the override at that layer (the user's value in the user catalog, the instance default in the admin catalog).

Assistant settings

The Assistant group is the main admin-only block: keys under assistant.instance.* are hidden from the user catalog and govern the built-in assistant for the whole instance:

KeyPurpose
assistant.instance.enabledInstance-wide feature flag for the assistant
assistant.instance.providerLLM gateway: openrouter or litellm
assistant.instance.base_urlOpenAI-compatible API base URL for the provider
assistant.instance.modelDefault chat model
assistant.instance.portal_context_enabledLet the assistant receive current portal context packets
assistant.instance.max_sessions_per_userActive sessions per user before rotation (1–25, default 5)
assistant.instance.archive_retention_daysDays to retain archived transcripts (1–365, default 30)

The provider API key is a write-only secret. The catalog shows whether it is configured and lets you rotate or Clear it. Chat stays disabled until a key is set.

Validation and limits

The backend validates every write:

  • Keys must match ^[a-z][a-z0-9._-]*$ and be 1–200 characters long.
  • Values are arbitrary JSON, up to 64 KiB per key.
  • Instance defaults record who changed them and when.

REST API

MethodPathPurpose
GET/api/v1/settings/effectiveList effective settings for the current user (?keys=a,b to filter)
GET/api/v1/settings/effective/{key}One effective setting
PUT/api/v1/settings/user/{key}Set a personal override
DELETE/api/v1/settings/user/{key}Remove a personal override
GET/api/v1/admin/settings/defaultsList instance defaults (admin)
PUT/api/v1/admin/settings/defaults/{key}Set an instance default (admin)
DELETE/api/v1/admin/settings/defaults/{key}Remove an instance default (admin)

The admin endpoints are gated by the RBAC policy engine — non-admins receive 403. See Access control. Both PUT endpoints take the same body:

{ "value": { "mode": "dark" } }

What is configured elsewhere

The settings catalog covers runtime defaults stored in the database. Other concerns have dedicated pages:

  • Logo, colours, product name — Branding.
  • Community limits and additional seats — Licensing.
  • Deployment-level configuration (database, ports, PIPING_* environment variables) — Configuration.