File reference
Every key, allowed value, and limit in the installation settings file, section by section.
This page lists what the server accepts in the settings file. The server validates the whole file before it applies anything, so one mistake rejects the entire pull.
Rules that hold everywhere:
- The file is valid JSON and at most 200,000 bytes.
- Names are matched exactly, including case. Strings are trimmed.
- An unknown key in any object is an error.
- Every section is optional. Leave a section out and the server leaves the matching rows alone.
ai.providers
An array of AI provider configurations. A provider is identified by provider plus name, which must be unique in the file.
| Key | Required | Rules |
|---|---|---|
name | Yes | Up to 100 characters. The label shown in Admin Space |
provider | Yes | One of the provider slugs below |
apiKey | No | A secret reference: an object with a source that says where the key comes from. Never the key itself. Omit for providers that need no key |
baseUrl | No | An http or https URL, up to 500 characters, with no username or password in it |
models | No | Catalogue model ids, up to 100, no duplicates. See below |
tools | No | Built-in tool ids for that provider, up to 50, no duplicates |
Keys that look like secrets (anything with key, secret, password, or token in the name, except apiKey) are rejected. apiKey itself must be a secret reference object. A plain string is rejected and the whole pull fails.
Provider slugs
| Slug | API key | Notes |
|---|---|---|
openai | Yes | baseUrl configurable. Default https://api.openai.com/v1 |
anthropic | Yes | |
gemini | Yes | |
xai | Yes | |
deepseek | Yes | |
featherless | Yes | baseUrl configurable. Default https://api.featherless.ai/v1 |
perplexity | Yes | |
ollama | No | baseUrl configurable. Point it at your Ollama host |
huggingface | Yes | baseUrl configurable |
Models
Each entry in models is either a model id string, or an object to keep a model listed but switched off:
"models": [
"gpt-6-luna",
{ "id": "gpt-6-astra", "enabled": false }
]The only keys in an object are id and enabled. Every id must exist as an active model for that provider on the install, otherwise the pull fails with Unknown model id(s).
Model ids come from the public AI model catalogue (<provider>/models.json, field modelId), which an install loads with Seed defaults in Admin Space. Seed the catalogue before you reference a new model. Models marked deprecated still work. Prefer the model named in replacedByModelId for new setups.
Built-in tools
Tool ids belong to a provider. These are the ones the product seeds:
| Provider | Tool ids |
|---|---|
openai | web_search, code_interpreter, file_search, dalle |
anthropic | web_search, computer_use, text_editor, bash |
gemini | google_search, code_execution, structured_outputs |
perplexity | citations, grounded_search |
The other providers have no built-in tools. Leave tools out for them.
Platform tools such as remember_fact or drive_save_file are managed by the product and are not valid here.
Secret references
A secret reference is an object with a source. The other keys depend on the source, and any other key is an error. Each source is explained on Secrets and API keys.
source | Other keys | Rules |
|---|---|---|
serverEnv | name (required) | Name of an environment variable on the server. Uppercase letters, digits, and underscores, starting with a letter, up to 128 characters. It must be set when the file is applied |
env | name (required) | Name the pipeline pushes the secret under. Same rules as serverEnv. A value must have been pushed before the reload |
vault | path (required), key (required), mount (optional) | path is the KV v2 secret path with no leading slash and no .., up to 255 characters. key is the field in that secret, up to 128 characters. mount is up to 64 characters and defaults to the server's configured mount |
manual | None | The provider is created without a key. A person sets it in Admin Space or through the API |
"apiKey": { "source": "vault", "path": "lunnoa/prod/openai", "key": "api_key" }ai.connections
An array that sets who may use a connection. The provider must already exist, either declared in the same file or already on the install.
| Key | Required | Rules |
|---|---|---|
name | Yes | Up to 100 characters. Unique per provider |
provider | Yes | A provider slug |
providerName | Yes | The name of the provider this connection belongs to. Must match exactly one provider |
access | Yes | An array of grants. Use [] for no access |
Each grant is one of:
| Grant | Meaning |
|---|---|
{ "type": "GLOBAL" } | Everyone. Cannot name a role or workspace |
{ "type": "ROLE", "role": "Finance Analyst" } | Members of that role. Built-in roles such as Admin are allowed |
{ "type": "WORKSPACE", "workspace": "Finance" } | Members of that workspace |
A role or workspace may be declared in the same file or already exist on the install. An unknown name fails the pull. A grant cannot appear twice in one connection.
Leave connections out entirely to keep the current grants as they are. When you declare a connection, its access list replaces the previous grants.
privacy
The single platform privacy policy. All eight keys are required, and no other keys are allowed.
| Key | Rules |
|---|---|
presidioEnabled | true or false |
defaultLanguage | Up to 8 characters, for example en |
scoreThreshold | A number from 0 to 1 |
enabledEntities | Presidio entity names, up to 40, each up to 64 characters, no duplicates |
highSeverityEntities | Same limits as enabledEntities |
anonymizerDefault | Up to 32 characters, for example replace |
failMode | FAIL_CLOSED or FAIL_OPEN |
analyzeTimeoutMs | A whole number from 250 to 15000 |
{
"presidioEnabled": true,
"defaultLanguage": "en",
"scoreThreshold": 0.5,
"enabledEntities": ["EMAIL_ADDRESS", "PHONE_NUMBER", "CREDIT_CARD", "IBAN_CODE", "US_SSN", "PERSON"],
"highSeverityEntities": ["US_SSN", "CREDIT_CARD", "IBAN_CODE"],
"anonymizerDefault": "replace",
"failMode": "FAIL_CLOSED",
"analyzeTimeoutMs": 2000
}FAIL_OPEN lets text through to the model when the PII check is unavailable. Prefer FAIL_CLOSED unless you have a reason. Keep highSeverityEntities a subset of enabledEntities. The server does not enforce that.
The Presidio service addresses stay environment variables on the install. Once the file owns the privacy policy, Admin Space cannot edit it.
workspaces
An array of workspaces, created or updated by name.
| Key | Required | Rules |
|---|---|---|
name | Yes | Up to 100 characters, unique in the file |
description | No | Up to 255 characters. Empty becomes no description |
The file does not add members.
roles
An array of custom roles, created or updated by name.
| Key | Required | Rules |
|---|---|---|
name | Yes | Up to 50 characters, unique in the file. Cannot be Admin, Editor, Viewer, or Agent User |
description | No | Up to 255 characters |
permissions | Yes | At least one. Each must be an exact string from Permissions. No duplicates |
workspaces | No | Workspace names the role covers, no duplicates. Each must be declared in the file or already exist |
The file does not add people to a role.
Limits at a glance
| Field | Limit |
|---|---|
| File size | 200,000 bytes |
| File path | Ends in .json. Segments use letters, digits, ., _, -. Up to 200 characters |
| Branch, tag, or commit | Letters, digits, ., _, -. Up to 100 characters |
| Workspace, provider, connection, and provider reference names | 100 characters |
| Role names | 50 characters |
| Descriptions | 255 characters |
baseUrl | 500 characters |
Secret reference name and key | 128 characters |
Vault path | 255 characters |
Vault mount | 64 characters |
| Models per provider | 100 |
| Tools per provider | 50 |
| Privacy entity lists | 40 entries, 64 characters each |
Not supported yet
Platform defaults (embedding model, chunk sizes), outgoing email, and observability export have a planned shape but the server does not accept them yet. Keep them out of the file until the server release notes say otherwise. Configure them in Admin Space for now.