Skip to main content

Administration Guide

The Administration section (/admin-settings) manages users, access control, API credentials, global configuration, and system diagnostics. It is accessible from the main sidebar.

Keycloak mode

When Keycloak is enabled (turing.keycloak=true), the Users, Groups, and Roles subsections are hidden — identity and access management is fully delegated to Keycloak. See Security & Keycloak.


Login

When accessing Turing ES, a login page is displayed. The default username is admin. The password is defined at first startup via the TURING_ADMIN_PASSWORD environment variable — if not set, Turing ES will not create the admin account with a default password.

Set the environment variable before starting Turing ES for the first time:

Windows

set TURING_ADMIN_PASSWORD=your_password

Linux / macOS

export TURING_ADMIN_PASSWORD=your_password

Users

The Users page (/admin/users) lists all local user accounts. Click a user to edit, or use the creation button to add a new account.

Account Information:

FieldDescription
AvatarProfile picture using DiceBear — click to pick a style, or remove to use initials
UsernameUnique login identifier (read-only for existing users)
First NameUser's first name (required)
Last NameUser's last name (required)

Contact:

FieldDescription
EmailUser's email address (required)

Groups & Roles (tabbed view):

TabDescription
GroupsSearch and assign available groups. Remove the user from groups using the remove button.
RolesRead-only view of roles inherited from the user's assigned groups

Security:

FieldDescription
PasswordRequired for new users. Leave blank when editing to keep the current password.

Groups

The Groups page (/admin/groups) organises users into groups for role-based access control.

Group Details:

FieldDescription
NameUnique group identifier (required)
DescriptionPurpose or scope of this group

Members & Roles (tabbed view):

TabDescription
UsersSearch and add members. Remove users from the group using the remove button.
RolesSearch and assign roles. Remove roles using the remove button.

Roles

The Roles page (/admin/roles) defines permissions that are assigned to groups.

Role Details:

FieldDescription
NameUnique role identifier (required)
DescriptionWhat this role permits

Privilege Matrix

Each role has a privilege matrix — an interactive table where you toggle individual permissions per resource category. The matrix is organized into two sections:

Generative AI:

CategoryResources Covered
LLMLanguage model instances
EMBEDDINGEmbedding model instances
STOREEmbedding store instances
AI_AGENTAI Agent configurations
INTENTIntent categories and actions

Enterprise Search:

CategoryResources Covered
SESearch engine instances and cores
SNSemantic Navigation sites and fields

Actions per category:

ActionDescription
VIEWRead access to the resource
CREATECreate new resources
EDITModify existing resources
DELETERemove resources
ALLBulk toggle — enables or disables all four actions at once
tip

The ROLE_ADMIN role has full access to all resources regardless of the privilege matrix. The matrix applies to non-admin roles only.


API Tokens

The API Tokens page (/admin/tokens) manages tokens used to authenticate REST API requests. Every token is passed in the Key request header.

Form fields:

FieldDescription
TitleA human-readable name for the token (required)
DescriptionPurpose or owner of this token

Token display (existing tokens only):

FieldDescription
API TokenRead-only, monospace display with copy-to-clipboard button
info

The token value is generated automatically on creation and displayed once. It cannot be retrieved again — store it securely.

Using the token in API requests:

curl "http://localhost:2700/api/sn/Sample/search?q=cloud&_setlocale=en_US" \
-H "Key: <YOUR_API_TOKEN>"

Global Settings

The Global Settings page (/admin/settings) is the central configuration panel for defaults and external service integrations. Divided into four sections.

General

FieldDescription
Decimal SeparatorChoose between period (.) and comma (,) for numeric display. Preview shows formatted examples (e.g., 1,500.75 vs 1.500,75).
Python ExecutableAbsolute path to the Python 3 binary used by the Code Interpreter tool. When left blank, Turing searches standard OS locations automatically.

LLM Settings

FieldDescription
Default LLM InstanceDropdown of enabled LLM instances — the default used when no site-level instance is configured. Select "None" to require explicit per-site assignment.
LLM CacheToggle to enable caching of LLM responses
Cache DurationHow long cached responses are retained (duration input with configurable time unit) — visible when cache is enabled
Regenerate CacheToggle to force fresh LLM calls instead of serving cached responses — visible when cache is enabled
warning

Caching LLM responses improves performance but may return stale answers if the underlying content changes frequently. Tune the duration to match your content update cadence.

RAG Settings

FieldDescription
Enable RAG GloballyMaster switch for Retrieval-Augmented Generation across all sites
Default Embedding ModelDropdown of enabled embedding models — required when RAG is enabled
Default Embedding StoreDropdown of enabled embedding stores (ChromaDB, PgVector, or Milvus) — required when RAG is enabled
warning

Changing the Default Embedding Model invalidates all existing embeddings. All indexed content must be re-indexed after changing this setting.

note

The RAG Settings section is only visible if an embedding store is configured and available. If MinIO is not configured, the Knowledge Base and related RAG options will not appear.

Email Settings

Used by Turing ES to send notifications and test email connectivity.

FieldDescription
ProviderEmail service provider (currently Brevo)
API KeyAPI key for the email provider
Sender EmailThe From email address
Sender NameThe display name shown to recipients
Recipient EmailDefault destination for test and automated emails
Send Test EmailButton to send a test message and verify configuration

System Information

The System Information page (/admin/system-info) is a diagnostic panel to monitor the health of the Turing ES instance. It contains two tabs.

Overview

Application:

ItemDescription
VersionCurrent Turing ES build version
Java VersionJVM version in use
Java VendorJVM vendor (e.g., Eclipse Adoptium)
OSOperating system name, version, and architecture

Database:

ItemDescription
StatusUP (green) or DOWN (red) — connection health
ProductDatabase product name (e.g., H2, MariaDB)
VersionDatabase server version
DriverJDBC driver name and version
URLJDBC connection URL

Physical Memory (RAM):

ItemDescription
RAM UsagePercentage used with progress bar
Total RAMTotal physical memory installed
Free RAMAvailable physical memory
Used RAMMemory currently in use

Swap / Pagefile (if available):

ItemDescription
Swap UsagePercentage used with progress bar
Total SwapTotal swap space configured
Free SwapAvailable swap space

Memory (JVM Heap):

ItemDescription
Heap UsagePercentage used with progress bar
Total AllocatedJVM heap currently allocated
Free (Allocated)Free space within the allocated heap
Used MemoryHeap memory currently in use
Max HeapMaximum heap size configured

Disk Space:

ItemDescription
Disk UsagePercentage used with progress bar
Total SpaceTotal disk capacity
Available SpaceFree disk space
Used SpaceDisk space currently in use

MongoDB (shown only when turing.mongodb.enabled: true):

ItemDescription
StatusUP (green) or DOWN (red)
VersionMongoDB server version
EndpointConnection URI

MinIO (shown only when turing.minio.enabled: true):

ItemDescription
StatusUP (green) or DOWN (red)
VersionMinIO server version
EndpointMinIO server URL

System Variables

A searchable table of all JVM system properties active at runtime. The search input filters properties by name or value in real time. A counter shows the number of visible entries out of the total.

Useful for verifying configuration overrides, checking classpath entries, or confirming environment variable values at deployment.


User Account

The User Account page (/account) allows the currently logged-in user to manage their own profile without requiring admin privileges.

Profile fields:

FieldDescription
AvatarDiceBear avatar picker — choose a style or remove to use initials
First NameUser's first name
Last NameUser's last name
EmailUser's email address
UsernameRead-only — cannot be changed

Change Password:

FieldDescription
New PasswordLeave blank to keep the current password
Confirm PasswordMust match the new password

REST API

All administration endpoints require authentication via the Key header. For the full endpoint reference, see REST API Reference.

Users

MethodEndpointDescription
GET/api/v2/userList all users
GET/api/v2/user/{username}Get user by username
GET/api/v2/user/currentGet the currently authenticated user
POST/api/v2/userCreate a new user
PUT/api/v2/user/{username}Update a user
DELETE/api/v2/user/{username}Delete a user
PUT/api/v2/user/{username}/avatarUpdate user avatar
PUT/api/v2/user/{username}/passwordChange user password

Groups

MethodEndpointDescription
GET/api/v2/groupList all groups
GET/api/v2/group/{id}Get a group
POST/api/v2/groupCreate a group
PUT/api/v2/group/{id}Update a group
DELETE/api/v2/group/{id}Delete a group

Roles

MethodEndpointDescription
GET/api/v2/roleList all roles
GET/api/v2/role/{id}Get a role
POST/api/v2/roleCreate a role
PUT/api/v2/role/{id}Update a role
DELETE/api/v2/role/{id}Delete a role
GET/api/v2/privilegeList all available privileges

API Tokens

MethodEndpointDescription
GET/api/dev/tokenList all tokens
GET/api/dev/token/{id}Get a token
POST/api/dev/tokenCreate a token (auto-generates value)
PUT/api/dev/token/{id}Update token metadata
DELETE/api/dev/token/{id}Delete a token

Global Settings

MethodEndpointDescription
GET/api/system/global-settingsGet all settings
PUT/api/system/global-settingsUpdate settings
POST/api/system/global-settings/email/testSend test email

System Information

MethodEndpointDescription
GET/api/system/infoSystem overview (version, database, memory, disk, external services)
GET/api/system/info/variablesJVM system properties

PageDescription
Security & AuthenticationAuthentication mechanisms and API token usage
Security & KeycloakKeycloak OAuth2/OIDC integration
Configuration ReferenceFull application.yaml property reference
LoggingServer, indexing, and AEM log viewer
REST API ReferenceComplete API endpoint reference