> Version: 2026.1.104 | Last Updated: 2026-03-12
Interpretos Local is an AI copilot for enterprise applications. It connects to Oracle E-Business Suite, PeopleSoft, and IBM Maximo and lets users query their systems using natural language.
This guide covers everything an administrator needs to install, configure, operate, and extend their Interpretos Local instance. It also serves as the knowledge base for the built-in Admin Assistant ("Need help?" button).
On first launch, a 6-step wizard guides you through initial configuration. After completing the AI Model Provider step (Step 2), a "Need help?" button appears — click it to chat with an AI assistant that can answer questions about any setup step in real time.
Choose one of three paths:
Create the first administrator account.
Choose the LLM that powers your chat experience. This is the fast model — used for simple queries like lookups and detail views.
| Provider | API Key Required | Recommended Model | Notes |
|---|---|---|---|
| Interpretos Cloud | No | Automatic | Free tier, 100 queries/day, no configuration |
| Google Gemini | Yes | gemini-3-flash-preview | Get key at aistudio.google.com/apikey |
| OpenAI | Yes | gpt-4.1-mini | Get key at platform.openai.com/api-keys |
| Anthropic | Yes | claude-sonnet-4-6 | Get key at console.anthropic.com |
| Custom / Self-hosted | Yes | Varies | Any OpenAI-compatible endpoint (Ollama, vLLM, LiteLLM) |
For self-hosted models, provide the base URL (e.g., http://localhost:11434/v1 for Ollama).
Click Test Connection to verify before proceeding.
For BYOK providers (Google, OpenAI, Anthropic, Custom), a "Add a Smart Model" panel appears below the fast model configuration.
What it does: Simple queries (lookups, details) use the fast model above. Complex queries (analytics, dashboards, multi-table joins) need a frontier model for accurate results. The system automatically routes each query to the right model based on complexity.
Configuration:
claude-opus-4-6, gpt-4.1, gemini-3-pro-previewHow auto-routing works: The RAG (pattern selection) step assesses query complexity. Simple entity lookups stay on the fast model. Analytical, multi-entity, or aggregation queries are automatically upgraded to the smart model. Users see this as seamless — the right model is chosen per query.
Smart model quota: To control costs, smart model usage is limited to 30 queries per user per day (configurable in Admin Panel > Settings). When the quota is exhausted, queries fall back to the fast model.
Interpretos Cloud users get automatic fast/smart routing — no configuration needed.
Connect to your enterprise systems. You can configure one or more integrations.
Direct Database Mode (recommended — 1-3 second queries):
SSH Tunnel Mode (11-17 second queries):
-----BEGIN RSA PRIVATE KEY-----)/u01/app/oracle/product/12.1.0)Common issues:
ssh-keygen -p -m PEM -f your_keyecho $ORACLE_HOME on the database server to find ittelnet host port$ORACLE_HOME/network/admin/tnsnames.ora on the DB serverConnects via SSH tunnel to Oracle database (no direct mode).
/opt/oracle/psft/db/oracle-server/19.3.0.0PeopleSoft uses CDB/PDB architecture. The PDB name is critical — it's set via ALTER SESSION SET CONTAINER before any query. If you're unsure, ask your DBA for the PDB name or run SELECT name FROM v$pdbs on the CDB.
Connects via REST API (OSLC interface).
/maximo (e.g., https://maximo.example.com/maximo)Common issues:
/maximo, not /maximo/api or just the hostnameEnable anonymous aggregate metrics to help improve the product.
/app/data/telemetry_audit.jsonl for your auditSummary of all settings. Click Complete Setup to finish. A security recommendations panel reminds you to enable TLS and set a secret key for production.
Access the admin panel by clicking the gear icon in the header bar. The "Need help?" button in the top-right corner opens the AI-powered Admin Assistant — it can answer questions about any panel, setting, or configuration task.
Manage system users and their roles.
Adding users:
User actions:
Roles:
| Role | Chat | Own Preferences | Admin Panel | Manage Users | EBS Login Bar |
|---|---|---|---|---|---|
| user | Yes | Yes | No | No | Shown (RBAC) |
| admin | Yes | Yes | Yes | Yes | Hidden (uses global credentials) |
Admin users skip the per-user RBAC login prompt and query using the global admin credentials configured during setup.
Map each user to their identity in each enterprise system. This controls what data they see through role-based access control (RBAC).
How RBAC works: When user "jsmith" sends a chat query, Interpretos uses jsmith's personal credentials (not the admin's) to query the enterprise system. If jsmith's Oracle account is restricted to the BEDFORD site, they'll only see BEDFORD data. This applies to every user, administrators included: each person's questions run with the credential stored for that person.
Setting credentials:
If no per-user credentials are set, the user's question is not run. The user sees a message that names the system and says their own credential is missing, and the refusal is recorded for the administrator. Nothing is inherited from a shared or global account, so set a credential for every user who should be able to ask that system. (The administrator who completed the setup wizard has the setup connection stored as their own credential.)
Credential fields by integration:
| Integration | Key Fields |
|---|---|
| EBS | SSH host/user/key, DB user/password/service, Oracle Home, RBAC username |
| PeopleSoft | SSH host/user/key, DB user/password/service, PDB name, RBAC username |
| Maximo | Auth type, API base URL, API key or username/password |
One installation can be connected to more than one Maximo system at the same time. The usual case is an upgrade: Maximo 7.6 and Maximo Application Suite run side by side for a while, and people want to ask both the same question and compare the figures.
The first Maximo system is the one configured in the setup wizard. You can add up to four more. The licence counts all of them as one Maximo integration.
Add a system (administrators only):
The address must start with http:// or https://, must resolve, and must not be the address of the first system. An address the installation is not allowed to call (for example its own loopback address) is refused with the reason. A connection is only a name, an address and a sign-in type. It holds no password or key.
Give each user a sign-in for the new system. A sign-in for one Maximo system is never used on another, so every user who should be able to ask the new system needs a credential for it. This includes administrators.
The user's Maximo account decides what they see on that system, exactly as on the first one. A user who is restricted to one site on the old system and unrestricted on the new one gets each system's own answer.
What users do. The System list in the chat header now shows each Maximo system by name. A user picks one, a line "Switched to System: so it is always clear where a figure came from. See [Choosing a Maximo system](#choosing-a-maximo-system).
If a user has no sign-in for the selected system, the question is not run. The user sees: "Your own credential for
Change or remove a system.
Every save of the card and every switch a user makes is written to the authentication log (maximo_connections_changed, maximo_connection_switch).
Limits of this version.
System: line on each answer shows which one is active.integration_lock configuration setting), users who are not administrators cannot change Maximo system.Generate programmatic API keys for automation, bots, and integrations.
Creating a key:
Using API keys:
# Via X-API-Key header
curl -X POST http://localhost:8080/api/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: ik_your_key_here" \
-d '{"message": "How many open work orders are there?"}'
# Via Authorization header
curl -X POST http://localhost:8080/api/chat \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ik_your_key_here" \
-d '{"message": "Show me overdue POs"}'
Full API documentation is available at /api/docs (interactive Swagger UI).
Change the primary (fast) LLM provider after setup. Same options as setup step 2. Always test before saving.
Extra Parameters: Optional JSON object passed directly to the chat LLM API call. Use this for provider-specific tuning:
| Provider | Example | Effect |
|---|---|---|
| Google Gemini | {"thinking_budget": 0} | Disables thinking mode for faster responses |
| Google Gemini | {"thinking_level": "minimal"} | Minimal thinking |
| OpenAI | {"reasoning": {"effort": "low"}} | Low reasoning effort for GPT-5.x |
| Ollama | {"num_ctx": 8192} | Sets context window size |
Configure model presets that users can switch between during chat. Up to 3 presets can be defined.
Preset roles:
How it works:
Smart model quota: Limits smart model usage to a configurable number of queries per user per day (default: 30). When exhausted, queries fall back to the fast model. Configure the limit via PUT /api/admin/smart-quota or the Admin Panel.
Click the "Model Options for Users" section header to expand, configure presets, test each one, and save.
Configure an optional separate, faster LLM for pattern selection (the step that picks which knowledge pattern to use before answering).
Click the "Pattern Selection LLM" section header to expand, enable the checkbox, configure, test, and save.
Extra Parameters: Optional JSON object passed directly to the LLM API call. Use this for provider-specific tuning without code changes:
| Provider | Example | Effect |
|---|---|---|
| Google Gemini | {"thinking_budget": 0} | Disables thinking mode (prevents 26s+ delays on Gemini 3 Flash) |
| Google Gemini | {"thinking_level": "minimal"} | Minimal thinking (alternative to budget=0) |
| OpenAI | {"reasoning": {"effort": "none"}} | Disables reasoning for GPT-5.x models |
| Ollama | {"num_ctx": 4096} | Sets context window size |
Pattern selection doesn't need reasoning/thinking — it's a simple pattern-matching task. If using a model with built-in thinking (Gemini 3 Flash, GPT-5.4 Thinking), disable it here for dramatically faster responses (26s to 2s in testing).
Update EBS, PeopleSoft, or Maximo connection settings. Same fields as setup step 3.
Set admin-wide default context for all users on a specific integration.
Examples:
Select the integration from the dropdown, write instructions (max 1000 characters), and save. Users can also set their own personal instructions via the Preferences button in the chat header.
Re-runs the guided setup. Preserves your license and user accounts but lets you reconfigure AI provider and integration connections.
Create custom patterns to show the chatbot queries specific to your environment. Custom patterns extend the built-in knowledge without affecting it. Custom patterns are encrypted at rest on the persistent data volume.
Click + New pattern and fill in:
Click Save pattern. The chatbot immediately starts using the new pattern — no restart needed. Pattern ids are generated from the name; Copy id on an open pattern copies it.
Open a pattern's ⋯ menu, choose Test the live version, type a sample question and press Run test. The system sends the question through the full chatbot, as you, and shows:
Passed means the chatbot produced an answer without an error. It does not prove the figures are right, and it does not show which patterns the chatbot used: compare the answer with the application screen yourself. The processing log of the answer lists the patterns used.
This test uses the live version. The chatbot only ever uses the live version of a pattern, so this test never counts for a change that is waiting for review. To test a waiting change, use Test vN… in its decision box (see *Reviewing a waiting change* below).
Edit is on every row. Everything else is in the row's ⋯ menu:
| Action | Description |
|---|---|
| Edit | Change any field. The change waits for review; the live version keeps answering. |
| Test the live version | Ask the chatbot a question using the live version and keep the result (see above). |
| Make a copy | Duplicate a pattern — useful for creating variations (e.g., same query for a different entity). |
| Export this pattern | Download a single pattern as JSON for backup or sharing with another instance. |
| Disable / Enable | Switch a pattern off or on without deleting it. Disabled patterns are ignored by the chatbot. Disabling asks for a reason. |
| Delete | Last in the menu. Stops the pattern answering at once; asks for a reason and names the pattern. Its history is kept. |
Sometimes a shipped pattern is simply wrong for your site. For example, the shipped pattern counts storeroom items one way, and your site counts them another way. Writing a better custom pattern is half the fix. The other half is making sure the AI does not also read the shipped pattern and follow that one instead.
The Replaces field (stored as *supersedes*) does this. List the ID of each pattern that your custom pattern replaces. From then on, whenever a question brings up both your pattern and a pattern it supersedes, the product withholds the superseded pattern. The AI never sees it, so it cannot follow it. This does not depend on the order of the patterns, on the wording of any instruction, or on which AI model you use.
You can supersede a shipped pattern, a learned pattern, or another custom pattern. A pattern's ID is shown in the chatbot's processing log for any answer that used it.
There are three cases to understand.
1. Clean supersession — your pattern replaces a shipped one. Put the shipped pattern's id in Replaces. When a question retrieves both, only yours is given to the AI. When a question retrieves only the shipped pattern (your pattern was not relevant to that question), the shipped pattern is still used. This is deliberate: superseding means "prefer mine when both apply", not "delete the shipped pattern everywhere". If your pattern should also answer those other questions, add example questions to it so that it is retrieved for them.
2. Overlap that is not a supersession — both patterns are useful. If your pattern covers a site-specific detail and the shipped pattern still has value (other fields, other filters), leave Replaces empty. Both patterns are given to the AI. Yours is labelled as this site's configuration, the shipped one is labelled as the general product pattern, and the AI is told that yours is authoritative where they disagree.
3. Upgrade — the shipped pattern you superseded gets improved. When you install a pattern update that includes a pattern one of your custom patterns supersedes, nothing changes in behaviour: your pattern keeps superseding it. The product records the event in /app/data/custom_patterns/upgrade-review.jsonl and in the log, so you can review whether your custom pattern is still needed. If the improved shipped pattern now does the job, clear the Replaces field (or disable your pattern) and the shipped pattern returns immediately.
Rules the product enforces when you save:
Only administrators can set this field, through this form or the admin API (supersedes: ["pattern_id", ...] on create and update). Nothing a user types in a chat, and nothing returned by your application's API, can change it.
To confirm it is working, look at the performance log (performance.log): each answer records patterns (what the AI was given) and patterns_dropped_by_supersession (what was withheld, and which pattern superseded it).
Custom patterns are stored on the persistent data volume (/app/data/custom_patterns/) and survive container restarts and upgrades.
Patterns in the admin panel has three views:
#patterns/p/), so you can bookmark it or send the link to another administrator. On a phone the pattern opens as a full page with a ← All patterns link back.An open pattern has Edit, Watch and a ⋯ menu with *Test the live version*, *Make a copy*, *Export this pattern*, *Protect*, *Export its history*, *Disable* and, last, *Delete*. Deleting and disabling ask for a reason and name the pattern you are about to change; the button stays unavailable until you type the reason. Deleting also says when a change waiting for review is closed with it, and how many answers used the pattern. Editing happens in the same right-hand pane; Cancel and Submit for review stay visible at the bottom while you scroll. Import and Export for all patterns are in the ⋯ menu at the top right.
Every pattern carries one status word:
Testing has its own badge: Not tested yet means no passing test result is recorded for that version; Test ran · figures not checked and Test failed say what the last result was.
Every change to a custom pattern is kept. Open a pattern to see, in this order: What it says (its name, example questions, query, tables and notes, for the live version and for a waiting version), History (each version: who, when, what changed; compare any two; roll back), Test results, Used in, Possible duplicates and Comments.
When someone edits a pattern, the edit waits for review. It appears in Needs your decision, the pattern shows Waiting for you, and when you open it, a box at the top says Change vN is waiting for your decision. The live version keeps answering until you release the change. Work through these steps.
- Release vN makes the waiting version live at once.
- Reject… needs a reason. The live version is untouched, and the rejected version stays in the history, marked *Rejected*.
What "Not tested yet" means. A version is *not tested yet* when it has no passing result. Three things record a result: Test vN… in the decision box, which tests the waiting version (3 runs; it passes only when every run answers); Test the live version (in the ⋯ menu); and Record result on the Test results tab, which records a check you made yourself against the version you choose. While a waiting change is not tested yet, Test vN… is the main button in its box and release reads Release vN untested….
Releasing an untested change. The button then reads Release vN untested…. You can release a change that is not tested yet, but you must type a reason. The reason is recorded and the release is marked *released without review or test* in the history and in Activity. A reasonable choice for a small, low-risk change: release it with a reason, use Test the live version straight away (that now tests the new version, because it is live), and use Roll back to this on the previous version if the answer is wrong.
When to reject. Reject a change when its summary does not explain what changed, when a changed query would return different rows than the screen shows, when it widens or narrows what the pattern covers without saying so, or when it duplicates another pattern (see *Possible duplicates* below). Rejecting costs nothing: the author can edit again.
Only one change waits at a time. A new edit to a pattern that already has a waiting change starts from the waiting change and replaces it; the older draft is kept in the history, marked *Replaced draft*.
Urgent changes. An administrator who must fix a pattern at once can tick Skip review when saving an edit, with a reason. The change goes live without review, and the history marks it *released without review*. Look for these in Activity afterwards and record a test result for them.
Mark seen is not release. Activity lists events. Mark seen (it shows when you point at a row or move to it with the keyboard) only records that you looked at an event; unseen events are marked *New*. Mark all as seen does the same for every unseen event at once. Neither releases or rejects anything: that happens on the decision card, in Needs your decision or at the top of the open pattern. Changes by others to patterns you Watch are listed at the top of Activity, with how they ended (for example *changed (v2) by …, then rejected*).
Require a second admin to release. When this setting is on, the person who wrote a change cannot release it, cannot use Skip review, and cannot mark their own change as seen in Activity. The Release button is greyed out for them, with the reason beside it. Another administrator must do it.
Who can review. Only administrators can release, reject, record test results or see waiting changes. A user with the Viewer role never sees waiting changes, test results, comments or possible duplicates, and cannot use the Admin Assistant.
Ask the Admin Assistant. With a pattern open, press Ask the assistant about this change on the decision box (or Need help?) and ask about it. The assistant panel opens beside the pattern without covering it. The assistant is given the facts about that pattern as the product records them: the live and waiting versions, the changed fields, the test results, the possible duplicates, protection, where it applies and how many answers used it. It cannot see your application's screen or run queries, so it cannot tell you whether the figures are right. Today it only advises; it cannot press buttons.
The history lives in /app/data/pattern_history/ (an append-only, tamper-evident event log plus encrypted version snapshots). Back it up together with /app/data/custom_patterns/. If a restore rewinds the patterns but not the history (or the other way round), the Patterns tab shows a "history ahead of the live store" warning naming the affected patterns. The support bundle includes the tail of the event log with summaries, reasons and names redacted, never the pattern content.
Check for and install updates.
version exists; you install it from the command line:
`bash
docker login registry.interpretos.com # once, with your download login
docker compose pull
docker compose up -d
`
Interpretos Local is licensed software, distributed from
registry.interpretos.com to registered users. Your download login arrives
with your license key when you sign up. The image: line in your
docker-compose.yml should read registry.interpretos.com/interpretos/local:latest.
The older location interpretos/local on Docker Hub is retired and no longer
receives new versions. The update check itself contacts the Interpretos update
service, not the image registry.
View and manage your product license.
Health monitoring, debugging, and audit trail for compliance.
Click Test All Connections to validate every configured service (LLM provider, databases, APIs). Green/red indicators show what's working.
Toggle between INFO (normal) and DEBUG (verbose) log levels. Enable DEBUG when troubleshooting specific issues, then disable it — verbose logs consume more disk space.
Record and replay LLM API calls for debugging chatbot behavior.
Enable capture: Toggle LLM call recording on. Every LLM request/response is saved to disk.
View captured calls: Browse recent calls filtered by type (chat, RAG, etc.). Each captured call shows the full request (messages, model, parameters) and response.
Replay a call: Re-send a captured request to the LLM and compare the new response with the original. Useful for debugging non-deterministic behavior or testing model changes.
Configuration: Set maximum file size and number of captured files to manage disk usage.
Endpoints: GET /api/admin/llm-capture/status, POST /api/admin/llm-capture/toggle, PUT /api/admin/llm-capture/configure, GET /api/admin/llm-capture/calls, GET /api/admin/llm-capture/calls/{id}, POST /api/admin/llm-capture/replay/{id}
View recent server errors with timestamps, details, and stack traces. Useful for diagnosing connection failures or LLM errors.
Every query sent to connected enterprise systems is logged here — SQL statements for EBS/PeopleSoft, API calls for Maximo. Stored at /app/data/query_audit.jsonl.
Use this for: security audits, compliance reviews, debugging incorrect query results, and understanding what the AI is actually asking your systems.
Download a diagnostic package to attach to support tickets. This bundle is privacy-safe: it excludes credentials, SQL text, conversation content, and usernames. It contains system info, connectivity results, error summaries, and anonymized metrics.
These features are available to all authenticated users (not just admins).
Users can switch between model presets configured by the admin:
The active preset persists across sessions. Switch via the model selector in the chat header.
Users can set their own custom instructions via the Preferences button in the chat header. These are appended to the admin-wide custom instructions. Max 1000 characters.
Example: "I work in the BEDFORD site, always filter results to BEDFORD unless I say otherwise."
When the administrator has connected more than one Maximo system, the System list in the chat header shows each one by name, for example "Maximo Application Suite (new)" and "Maximo 7.6 (old)".
System: , the system the figures came from.Users can ask whether corrective work went up or down after a preventive maintenance plan started. Two ways to ask:
How the answer is built, so that it can be checked in Maximo:
The answer gives the counts before and after and says which way they moved. It does not claim that the plan caused the change.
For EBS and PeopleSoft integrations with per-user credentials configured, users see a login bar at the top of the chat. They enter their enterprise username and password to establish their RBAC context. This ensures queries run with their credentials, not the admin's.
Admin users do not see this login bar — they always use the global credentials.
Users can change their own password via the user menu in the header.
When DEMO_MODE=true is set as an environment variable, the instance operates in demo mode for public evaluation.
Demo registration flow:
Demo account limits:
Automatic cleanup: a background thread removes expired demo users every 60 seconds, preserving analytics data (email, organization, query count, conversations used).
Environment variables:
DEMO_MODE=true — enable demo modeCDDI_DEMO_SKIP_VERIFICATION=true — bypass email verification (internal testing only)Interpretos Local exposes a full REST API. Interactive documentation is available at /api/docs (Swagger UI) and the OpenAPI spec at /api/docs/openapi.yaml.
Two methods:
POST /api/auth/login with {"username": "...", "password": "..."} — returns a token. Use as Authorization: Bearer .X-API-Key: ik_xxx or Authorization: Bearer ik_xxx.| Endpoint | Method | Description |
|---|---|---|
/api/chat | POST | Send a message, get full response |
/api/chat/stream | POST | Send a message, get SSE streaming response |
/api/chat/cancel | POST | Cancel an in-progress query |
/api/reset | POST | Clear conversation state |
/api/conversations | GET | List all conversations |
/api/conversations | POST | Create new conversation |
/api/conversations/{id} | GET | Get conversation history |
/api/conversations/{id} | DELETE | Delete a conversation |
/api/conversations/{id}/title | PUT | Rename a conversation |
/api/status | GET | Session status (model, integrations, RAG mode) |
/api/health | GET | Health check (200 OK) |
/api/version | GET | Container version |
/api/integrations | GET | List available integrations |
/api/integrations | POST | Set active integrations |
Interpretos Local exposes an OpenAI-compatible API, allowing any tool or platform that supports OpenAI (such as [Sana](https://sana.ai), LangChain, or custom scripts) to use Interpretos as a drop-in AI provider.
from openai import OpenAI
client = OpenAI(
base_url="https://your-interpretos-host:8080/v1",
api_key="ik_...", # Your Interpretos API key
)
response = client.chat.completions.create(
model="interpretos-auto",
messages=[{"role": "user", "content": "What are the top 5 assets by cost?"}],
)
print(response.choices[0].message.content)
| Endpoint | Method | Description |
|---|---|---|
/v1/chat/completions | POST | Chat completions (OpenAI format) |
/v1/models | GET | List available models |
| Model ID | Description |
|---|---|
interpretos-auto | Automatic model selection (default) |
interpretos-fast | Fast model for simple lookups |
interpretos-smart | Smart model for complex analytical queries |
Use your Interpretos API key (created in Admin Panel > API Keys) as the Bearer token. The OpenAI SDK sends this automatically when you set api_key.
Streaming is supported (stream: true). The chatbot processes the full query and returns the complete response in a single chunk, followed by [DONE].
When connecting Interpretos to platforms like Sana, configure:
| Setting | Value |
|---|---|
| Base URL | https://your-interpretos-host:8080/v1 |
| API Key | Your ik_... key |
| Model | interpretos-auto |
temperature, max_tokens, and top_p are accepted but ignored — the chatbot manages its own LLM settings.| Endpoint | Method | Description |
|---|---|---|
/api/auth/me | GET | Get current user info |
/api/auth/logout | POST | Logout |
/api/auth/change-password | POST | Change own password |
/api/model-presets | GET | List available model presets |
/api/model-preset | POST | Switch active model preset (fast/smart/auto) |
/api/rag-mode | POST | Change RAG mode |
/api/rag-modes | GET | List available RAG modes |
/api/ebs-login | POST | EBS user login (establish RBAC context) |
/api/ebs-logout | POST | EBS logout |
/api/ebs-status | GET | Check EBS login status |
/api/psft-login | POST | PeopleSoft user login |
/api/psft-logout | POST | PeopleSoft logout |
/api/psft-status | GET | Check PeopleSoft login status |
/api/users/{username}/custom-instructions | GET | Get personal custom instructions |
/api/users/{username}/custom-instructions | PUT | Set personal custom instructions |
/api/credentials/test | POST | Test credential connectivity |
| Endpoint | Method | Description |
|---|---|---|
/api/admin/users | GET | List all users |
/api/admin/users | POST | Create user |
/api/admin/users/{username} | DELETE | Delete user |
/api/admin/users/{username}/password | PUT | Reset password |
/api/admin/users/bulk | POST | Bulk create/update users (max 500) |
/api/users/{username}/credentials/{integration} | PUT | Set per-user credentials |
/api/users/{username}/credentials/{integration} | GET | Get per-user credentials |
/api/users/{username}/credentials/{integration} | DELETE | Delete per-user credentials |
/api/admin/credentials/bulk | POST | Bulk set credentials (max 500) |
/api/admin/api-keys | GET | List API keys |
/api/admin/api-keys | POST | Create API key |
/api/admin/api-keys/{id} | DELETE | Revoke API key |
/api/admin/settings | GET | Get all settings |
/api/admin/settings/llm | PUT | Update LLM provider |
/api/admin/settings/llm/test | POST | Test LLM connection |
/api/admin/settings/rag-llm | PUT | Configure pattern selection LLM |
/api/admin/settings/rag-llm/test | POST | Test pattern selection LLM |
/api/admin/settings/ebs | PUT | Update EBS connection |
/api/admin/settings/ebs/test | POST | Test EBS connection |
/api/admin/settings/peoplesoft | PUT | Update PeopleSoft connection |
/api/admin/settings/peoplesoft/test | POST | Test PeopleSoft connection |
/api/admin/settings/model-presets | PUT | Save model presets (up to 3) |
/api/admin/settings/model-presets/test | POST | Test a model preset |
/api/admin/settings/custom-instructions/{integration} | GET | Get admin-wide instructions |
/api/admin/settings/custom-instructions/{integration} | PUT | Set admin-wide instructions |
/api/admin/settings/ui | PUT | Control UI element visibility |
/api/admin/settings/maximo-connections | GET | List the connected Maximo systems (no secrets) |
/api/admin/settings/maximo-connections | PUT | Replace the list of additional Maximo systems (up to 4); optional name for the first system |
/api/admin/smart-quota | GET | View smart model quota and usage |
/api/admin/smart-quota | PUT | Set daily smart model limit |
/api/admin/license | GET | View license status |
/api/admin/license | POST | Upload/install license |
/api/admin/restart-setup | POST | Restart setup wizard |
/api/admin/patterns/custom | GET | List custom patterns |
/api/admin/patterns/custom | POST | Create custom pattern |
/api/admin/patterns/custom/{id} | GET | Get pattern details |
/api/admin/patterns/custom/{id} | PUT | Update pattern |
/api/admin/patterns/custom/{id} | DELETE | Delete pattern |
/api/admin/patterns/custom/{id}/test | POST | Test pattern with a query |
/api/admin/patterns/custom/{id}/toggle | PUT | Enable/disable pattern |
/api/admin/patterns/custom/{id}/duplicate | POST | Clone pattern |
/api/admin/patterns/custom/{id}/export | GET | Export single pattern (JSON) |
/api/admin/patterns/custom/export | GET | Export all patterns (JSON bundle) |
/api/admin/patterns/custom/import | POST | Import patterns from JSON |
/api/admin/diagnostics/test-connections | POST | Test all connections |
/api/admin/diagnostics/health | GET | System health dashboard |
/api/admin/diagnostics/errors | GET | Recent errors |
/api/admin/diagnostics/log-level | GET | Current log level |
/api/admin/diagnostics/log-level | PUT | Set log level (DEBUG/INFO/WARNING) |
/api/admin/diagnostics/export | GET | Download support bundle |
/api/admin/audit/queries | GET | Query audit log |
/api/admin/audit/telemetry | GET | Telemetry transmission log |
/api/admin/audit/telemetry/preview | GET | Preview next telemetry payload |
/api/admin/audit/telemetry/setting | PUT | Toggle telemetry on/off |
/api/admin/llm-capture/status | GET | LLM capture status |
/api/admin/llm-capture/toggle | POST | Enable/disable LLM capture |
/api/admin/llm-capture/configure | PUT | Configure capture settings |
/api/admin/llm-capture/calls | GET | List captured LLM calls |
/api/admin/llm-capture/calls/{id} | GET | Get captured call details |
/api/admin/llm-capture/replay/{id} | POST | Replay a captured LLM call |
/api/admin/updates/check | GET | Check for updates |
/api/admin/updates/install | POST | Install pattern updates |
/api/admin/updates/status | GET | Last update check result |
/api/admin/updates/installed | GET | List installed pattern packs |
| Endpoint | Method | Description |
|---|---|---|
/api/setup/assistant/chat | POST | Chat with the admin assistant (setup token during setup, admin-only after). Optional pattern_id (and pattern_tab) gives the assistant read-only facts about that pattern |
/api/assistant/conversations | GET | List assistant conversations |
/api/assistant/conversations | POST | Create new assistant conversation |
/api/assistant/conversations/{id} | GET | Load assistant conversation |
/api/assistant/conversations/{id} | DELETE | Delete assistant conversation |
/api/assistant/conversations/{id}/title | PUT | Rename assistant conversation |
| Endpoint | Method | Description |
|---|---|---|
/api/demo/config | GET | Public demo configuration |
/api/demo/start | POST | Start demo registration (email verification) |
/api/demo/verify | POST | Verify email code and create demo account |
/api/demo/status | GET | Current demo session status |
For enterprise deployments, use the bulk endpoints to create users and assign credentials in batch.
Bulk user creation (POST /api/admin/users/bulk):
{
"users": [
{
"username": "jsmith",
"password": "Welcome123!",
"display_name": "Jane Smith",
"role": "user",
"credentials": {
"oracle_ebs": {
"EBS_DB_USER": "JSMITH",
"EBS_DB_PASSWORD": "...",
"EBS_DB_SERVICE": "VIS"
}
}
}
],
"update_existing": false
}
Response includes created, updated, skipped, and errors counts. Max 500 users per request.
Bulk credential assignment (POST /api/admin/credentials/bulk):
{
"assignments": [
{
"username": "jsmith",
"integration_id": "oracle_ebs",
"credentials": {
"EBS_DB_USER": "JSMITH",
"EBS_DB_PASSWORD": "...",
"EBS_DB_SERVICE": "VIS"
}
}
]
}
Max 500 assignments per request.
Two limits control how far a single question may go:
| Limit | What it does | Default |
|---|---|---|
| Query timeout | How long one question may run before the user is told it timed out | 570s |
| Conversation token budget | Total tokens a conversation may use before the user is asked to start a new chat | 250,000 |
An admin sets both from Admin Panel → Settings → Query Limits. Leaving a
field blank restores the default. Changing the token budget reloads existing
chat sessions so they pick up the new value; changing the timeout takes effect
on the next question.
An operator sets the maximum an admin is allowed to choose, in a JSON file
the admin panel never writes — by default /app/data/limits.json, or the path
in CDDI_LIMITS_FILE:
{
"max_tokens_ceiling": 1000000,
"query_timeout_ceiling": 570
}
Both keys are optional; a missing file means the built-in ceilings apply
(1,000,000 tokens, and for the timeout whatever the web server allows). The
file is read on each request, so edits take effect without a restart. If it is
missing or malformed the built-in ceilings apply and a warning is logged —
a bad file can never widen what an admin may set.
The query timeout has a hard ceiling that limits.json cannot lift. The
three timeouts must stay in order:
app query timeout < gunicorn --timeout < load balancer idle timeout
The app refuses any timeout above the gunicorn worker timeout minus 30s
headroom (570s on the standard 600s worker). Above that, gunicorn kills the
request before the app can answer and the user gets a raw gateway error
instead of the "try a simpler question" message — worse than the problem the
higher timeout was meant to solve. limits.json may set a *lower* ceiling.
To genuinely allow longer queries, raise all three: CDDI_GUNICORN_TIMEOUT on
the container (it drives the real --timeout flag), then the load balancer's
idle timeout. The app ceiling follows automatically.
> The token ceiling is a cost and runaway guard, not a model limit. The AI
> model's own context window is the real limit and may bite first.
These environment variables can be set on the Docker container to override settings.
| Variable | Description | Default |
|---|---|---|
LLM_PROVIDER | Active provider (google, openai, anthropic, custom) | From setup |
LLM_MODEL | Active model name | From setup |
LLM_BASE_URL | Custom endpoint URL | — |
LLM_EXTRA_PARAMS | JSON for provider-specific params | {} |
GOOGLE_API_KEY | Google Gemini API key | — |
OPENAI_API_KEY | OpenAI API key | — |
OPENAI_BASE_URL | OpenAI-compatible base URL | — |
ANTHROPIC_API_KEY | Anthropic API key | — |
| Variable | Description |
|---|---|
RAG_LLM_PROVIDER | Dedicated RAG LLM provider |
RAG_LLM_MODEL | Dedicated RAG LLM model |
RAG_LLM_API_KEY | Dedicated RAG LLM API key |
RAG_LLM_BASE_URL | Dedicated RAG LLM endpoint |
RAG_LLM_EXTRA_PARAMS | JSON params for pattern selection |
| Variable | Description |
|---|---|
DB_CONNECTION_MODE | ssh or direct |
DB_HOST / EBS_DB_HOST | Direct DB hostname |
DB_PORT / EBS_DB_PORT | Direct DB port (default 1521) |
DB_USER / EBS_DB_USER | Database username |
DB_PASSWORD / EBS_DB_PASSWORD | Database password |
DB_SERVICE / EBS_DB_SERVICE | TNS service name |
SSH_HOST / EBS_SSH_HOST | SSH server hostname |
SSH_USER / EBS_SSH_USER | SSH username |
SSH_KEY_PATH / EBS_SSH_KEY_PATH | Path to SSH private key |
ORACLE_HOME / EBS_ORACLE_HOME | Oracle home directory |
EBS_TNS_ADMIN | TNS admin path (auto-derived from Oracle Home if not set) |
| Variable | Description |
|---|---|
PSFT_SSH_HOST | SSH server |
PSFT_SSH_USER | SSH username |
PSFT_SSH_KEY_PATH | SSH key path |
PSFT_ORACLE_HOME | Oracle home |
PSFT_DB_USER | DB username (default: SYSADM) |
PSFT_DB_PASSWORD | DB password |
PSFT_DB_SERVICE | DB service |
PSFT_PDB_NAME | PDB container name |
PSFT_TNS_ADMIN | TNS admin path |
| Variable | Description |
|---|---|
API_BASE | Maximo REST API base URL |
API_KEY | Maximo API key |
MAXIMO_AUTH_TYPE | maxauth or api_key |
| Variable | Description | Default |
|---|---|---|
CDDI_DATA_DIR | Data storage path | /app/data |
CDDI_SECRET_KEY | Flask secret key (set for production) | Auto-generated |
CDDI_LOG_LEVEL | Logging level | INFO |
CDDI_TELEMETRY | Enable telemetry | false |
CDDI_LLM_CAPTURE | Enable LLM call recording | false |
CDDI_QUERY_TIMEOUT | Query timeout in seconds. Overridden by the admin setting when one is saved | 570 |
CDDI_MAX_TOKENS | Conversation token budget. Overridden by the admin setting when one is saved | 250000 |
CDDI_LIMITS_FILE | Path to the operator ceilings file | /limits.json |
CDDI_GUNICORN_TIMEOUT | Web-server worker timeout; also sets the hard ceiling for the query timeout | 600 |
See [Query Limits](#query-limits) for how these interact — an admin setting
beats the environment variable, and the operator ceilings file beats both.
DEMO_MODE | Enable demo mode | false |
|---|
Override precedence: Environment variable > UI/setup wizard setting > default value.
Every response carries a Content-Security-Policy, enforced, with nothing to
configure. The web UI may load scripts, styles, fonts and images only from the
Interpretos server itself, plus one pinned chart library from
cdn.jsdelivr.net. The browser may call only the Interpretos server and
llm.interpretos.com (used by the free-trial step of the setup wizard). Images
from other sites are not displayed.
| Variable | Description | Default |
|---|---|---|
CDDI_CSP | A one-line policy that replaces the built-in one, or off to send none (logged as a warning at start-up). | unset (built-in policy) |
CDDI_CSP_REPORT_ONLY | Set to 1 to send the policy as report-only: the browser logs violations to its console but blocks nothing. Use it to try a custom policy. | unset (enforced) |
If a reverse proxy in front of the container adds its own
Content-Security-Policy, the browser applies both, and the stricter one wins.
| Variable | Description | Default |
|---|---|---|
CDDI_TRUSTED_PROXIES | Comma-separated CIDR ranges of the load balancer / reverse proxy in front of the container (for example the balancer's VPC range, 10.20.0.0/16). X-Forwarded-For and X-Forwarded-Proto are believed only when the connecting peer is inside one of these ranges; a header sent by any other caller is ignored. | empty |
Set it on every hosted deployment. When it is empty and TLS ends at a load
balancer, the app sees every request as plain HTTP from the balancer's address:
the Strict-Transport-Security (HSTS) header is not sent, and the login
throttle counts every user as one IP address. Do not widen it to 0.0.0.0/0 —
that lets any caller forge their address and the HTTPS flag. See
docs/HARDENING.md section 2 for the other per-deployment settings.
Every file attached to a conversation is scanned for malware before it is parsed
or stored. This is on by default: the compose file starts a ClamAV scanner
(clamav) next to the application, reachable only from the application container.
A flagged file is refused, and an attachment_malware_blocked event with the
signature name is written to the auth log.
| Variable | Description | Default |
|---|---|---|
CDDI_CLAMD_ADDR | Address of the ClamAV daemon (clamd), as host:port or unix:/path/to/clamd.sock. Set it to off to switch scanning off; attachments are then stored unscanned and the start-up log carries a warning. | clamav:3310 (the bundled scanner) |
CDDI_CLAMD_FAIL_OPEN | What happens when the scanner cannot be reached. Unset: the upload is refused (HTTP 503, attachment_scan_unavailable in the auth log). 1: the upload is accepted unscanned and an error is logged. | unset (refuse) |
CDDI_CLAMD_TIMEOUT | Seconds to wait for a verdict. | 10 |
The scanner needs about 1 GB of memory and outbound HTTPS to
database.clamav.net for signature updates. On a network with no internet
access, point CDDI_CLAMD_ADDR at a clamd your organisation already runs.
Upgrading an existing instance: if the instance is started from your own
compose file or task definition, add the clamav service from the shipped
docker-compose.yml (or set CDDI_CLAMD_ADDR). Until a scanner is reachable,
attaching a file fails with "the malware scanner is not available". Nothing else
is affected. The start-up log states whether scanning is on and where the
scanner is.
Advanced RAG behavior can be tuned via /app/config/rag_config.yaml. Most admins will not need to modify this file — the defaults work well for all supported integrations.
Key settings:
retrieval.top_k: Number of patterns to retrieve (default: 3)retrieval.min_score_threshold: Minimum relevance score (default: 0.5)retrieval.scoring_weights: Weight distribution — semantic (0.40), entity (0.25), aspect (0.20), table (0.10), intent (0.05)boosting.rules: Boost specific patterns for specific keywordsagentic_rag.enabled: Use LLM-powered pattern selection (default: false, enabled via UI)token_optimization.enable_compression: Compress prompts for token efficiency (default: true)| File | Purpose | Format |
|---|---|---|
/app/data/setup_config.json | All setup configuration (encrypted) | JSON |
/app/config/rag_config.yaml | RAG behavior tuning | YAML |
/app/data/smart_quota.json | Daily smart model quota per user | JSON |
/app/data/custom_patterns/ | User-created patterns (encrypted) | JSON files |
/app/data/pattern_history/ | Pattern version history, evidence, notes (back up with custom_patterns) | JSONL + encrypted JSON |
/app/data/telemetry_audit.jsonl | Telemetry transmission audit | JSONL |
/app/data/query_audit.jsonl | SQL/API query audit log | JSONL |
These recipes show how to use the REST API to automate common administrative tasks. All examples use Python with the requests library.
import csv
import requests
BASE = "http://localhost:8080"
HEADERS = {"X-API-Key": "ik_your_admin_key", "Content-Type": "application/json"}
with open("users.csv") as f:
for row in csv.DictReader(f): # columns: username, display_name, password, role
resp = requests.post(f"{BASE}/api/admin/users", headers=HEADERS, json={
"username": row["username"],
"display_name": row["display_name"],
"password": row["password"],
"role": row.get("role", "user")
})
print(f"{row['username']}: {resp.json().get('status', resp.status_code)}")
CSV format:
username,display_name,password,role
jsmith,Jane Smith,Welcome123!,user
mbrown,Mike Brown,Welcome123!,user
admin2,Senior Admin,SecurePass!,admin
For large deployments (50+ users), use the bulk endpoint instead:
import csv
import requests
BASE = "http://localhost:8080"
HEADERS = {"X-API-Key": "ik_your_admin_key", "Content-Type": "application/json"}
users = []
with open("users.csv") as f:
for row in csv.DictReader(f):
users.append({
"username": row["username"],
"display_name": row["display_name"],
"password": row["password"],
"role": row.get("role", "user")
})
resp = requests.post(f"{BASE}/api/admin/users/bulk", headers=HEADERS, json={
"users": users,
"update_existing": False
})
result = resp.json()
print(f"Created: {result['created']}, Skipped: {result['skipped']}, Errors: {len(result['errors'])}")
import csv
import requests
BASE = "http://localhost:8080"
HEADERS = {"X-API-Key": "ik_your_admin_key", "Content-Type": "application/json"}
with open("credentials.csv") as f:
for row in csv.DictReader(f): # columns: username, db_user, db_password, ...
resp = requests.put(
f"{BASE}/api/users/{row['username']}/credentials/oracle_ebs",
headers=HEADERS,
json={
"EBS_DB_USER": row["db_user"],
"EBS_DB_PASSWORD": row["db_password"],
"EBS_DB_SERVICE": row.get("db_service", "VIS"),
"username": row.get("ebs_username", row["username"])
}
)
print(f"{row['username']}: {resp.json().get('status', resp.status_code)}")
import requests
import smtplib
from email.mime.text import MIMEText
BASE = "http://localhost:8080"
HEADERS = {"X-API-Key": "ik_your_admin_key"}
# Check health
health = requests.get(f"{BASE}/api/health")
if health.status_code != 200:
# Send alert email
msg = MIMEText(f"Interpretos health check failed: {health.status_code}")
msg["Subject"] = "ALERT: Interpretos Down"
msg["From"] = "monitoring@company.com"
msg["To"] = "admin@company.com"
with smtplib.SMTP("smtp.company.com") as s:
s.send_message(msg)
# Test all connections
conns = requests.post(f"{BASE}/api/admin/diagnostics/test-connections", headers=HEADERS)
for result in conns.json().get("results", []):
if result.get("status") != "ok":
print(f"FAILED: {result['name']} - {result.get('error', 'unknown')}")
import requests
BASE = "http://localhost:8080"
HEADERS = {"X-API-Key": "ik_reports_user_key", "Content-Type": "application/json"}
questions = [
"How many purchase orders were approved this week?",
"Show me the top 5 vendors by PO spend this month",
"Are there any overdue work orders?"
]
for q in questions:
resp = requests.post(f"{BASE}/api/chat", headers=HEADERS, json={"message": q})
data = resp.json()
print(f"\nQ: {q}")
print(f"A: {data.get('response', data.get('message', 'No response'))}")
# Reset conversation for next run
requests.post(f"{BASE}/api/reset", headers=HEADERS)
import requests
BASE = "http://localhost:8080"
HEADERS = {"X-API-Key": "ik_your_admin_key"}
username = "departing_user"
resp = requests.delete(f"{BASE}/api/admin/users/{username}", headers=HEADERS)
print(f"Deleted {username}: {resp.json()}")
# This removes the user account, all their credentials, API keys, and chat history
import requests
BASE = "http://localhost:8080"
HEADERS = {"X-API-Key": "ik_your_admin_key", "Content-Type": "application/json"}
# Create a custom pattern for EBS employee lookup
resp = requests.post(f"{BASE}/api/admin/patterns/custom", headers=HEADERS, json={
"integration": "oracle_ebs",
"description": "Employee lookup by employee number",
"query_type": "sql",
"query": "SELECT employee_number, full_name, email_address FROM per_all_people_f WHERE employee_number = :emp_num AND SYSDATE BETWEEN effective_start_date AND effective_end_date",
"example_questions": ["Who is employee 12345?", "Show employee details for 67890"],
"entity_types": ["employee", "person", "hr"],
"tables": ["PER_ALL_PEOPLE_F"]
})
print(f"Created: {resp.json()['pattern']['pattern_id']}")
# Export all patterns for backup
resp = requests.get(f"{BASE}/api/admin/patterns/custom/export", headers=HEADERS)
with open("patterns_backup.json", "w") as f:
f.write(resp.text)
print(f"Exported {resp.json()['count']} patterns")
import requests
import json
BASE = "http://localhost:8080"
HEADERS = {"X-API-Key": "ik_your_admin_key"}
# Get query audit log
audit = requests.get(f"{BASE}/api/admin/audit/queries", headers=HEADERS)
entries = audit.json().get("entries", [])
# Write to file for compliance archive
with open(f"query_audit_export.jsonl", "w") as f:
for entry in entries:
f.write(json.dumps(entry) + "\n")
print(f"Exported {len(entries)} audit entries")
import requests
BASE = "http://localhost:8080"
HEADERS = {"X-API-Key": "ik_your_admin_key", "Content-Type": "application/json"}
# Check current quota and usage
resp = requests.get(f"{BASE}/api/admin/smart-quota", headers=HEADERS)
data = resp.json()
print(f"Daily limit: {data['daily_limit']}")
for user, count in data.get('usage', {}).items():
print(f" {user}: {count}/{data['daily_limit']} smart queries today")
# Increase the limit
requests.put(f"{BASE}/api/admin/smart-quota", headers=HEADERS, json={"daily_limit": 50})
-----BEGIN RSA PRIVATE KEY-----)ssh-keygen -p -m PEM -f your_keyCDDI_SECRET_KEY environment variable rather than relying on the auto-generated filesetup_config.json are encrypted at rest using Fernet symmetric encryptiontelnet 22 -----BEGIN RSA PRIVATE KEY-----)ssh -i key.pem user@hostecho $ORACLE_HOME on the servertnsnames.ora on the DB server or ask your DBASELECT account_status FROM dba_users WHERE username = 'YOUR_USER'GRANT SET CONTAINER TO your_userSELECT name FROM v$pdbs (run as SYSDBA on the CDB)/maximo (not /maximo/api)telnet 443 (or 80 for HTTP){"thinking_budget": 0} — thinking mode is on by default and adds 20-50s of unnecessary delayPUT /api/admin/smart-quota/docs/terms/docs/privacy/docs/security/docs/admin-guide/api/docs (interactive Swagger UI)/api/docs/openapi.yaml*Interpretos Local is developed by Code Development Limited. For support, visit interpretos.ai.*
Two capabilities are switched on per user, never inherited from the licence:
analyst-sql) — lets that user's questions run read-only SQL over the extractthrough the runner service. Grant it to named power users only; every statement is logged.
actions-sr) — lets that user raise a Maximo service request from chat.The assistant drafts, the user confirms, the request is created with the user's own Maximo
credentials, and only against this deployment's configured Maximo. Nothing is created without
the explicit confirm.
Set either with the checkbox in the user table, or PUT /api/admin/users/
with {"feature": "analyst-sql", "enabled": true}. Turning one on never turns the other on.
Audit knowledge. If a Data Quality Audit has been delivered on this deployment, the assistant
answers audit questions from the audit and links to the Data Quality page. Users can flag a
finding or a record as "not right"; flags land in the rules registry, which you review under the
Data Quality page's coverage section.