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.

KeyRequiredRules
nameYesUp to 100 characters. The label shown in Admin Space
providerYesOne of the provider slugs below
apiKeyNoA 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
baseUrlNoAn http or https URL, up to 500 characters, with no username or password in it
modelsNoCatalogue model ids, up to 100, no duplicates. See below
toolsNoBuilt-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

SlugAPI keyNotes
openaiYesbaseUrl configurable. Default https://api.openai.com/v1
anthropicYes
geminiYes
xaiYes
deepseekYes
featherlessYesbaseUrl configurable. Default https://api.featherless.ai/v1
perplexityYes
ollamaNobaseUrl configurable. Point it at your Ollama host
huggingfaceYesbaseUrl configurable

Models

Each entry in models is either a model id string, or an object to keep a model listed but switched off:

json
"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:

ProviderTool ids
openaiweb_search, code_interpreter, file_search, dalle
anthropicweb_search, computer_use, text_editor, bash
geminigoogle_search, code_execution, structured_outputs
perplexitycitations, 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.

sourceOther keysRules
serverEnvname (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
envname (required)Name the pipeline pushes the secret under. Same rules as serverEnv. A value must have been pushed before the reload
vaultpath (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
manualNoneThe provider is created without a key. A person sets it in Admin Space or through the API
json
"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.

KeyRequiredRules
nameYesUp to 100 characters. Unique per provider
providerYesA provider slug
providerNameYesThe name of the provider this connection belongs to. Must match exactly one provider
accessYesAn array of grants. Use [] for no access

Each grant is one of:

GrantMeaning
{ "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.

KeyRules
presidioEnabledtrue or false
defaultLanguageUp to 8 characters, for example en
scoreThresholdA number from 0 to 1
enabledEntitiesPresidio entity names, up to 40, each up to 64 characters, no duplicates
highSeverityEntitiesSame limits as enabledEntities
anonymizerDefaultUp to 32 characters, for example replace
failModeFAIL_CLOSED or FAIL_OPEN
analyzeTimeoutMsA whole number from 250 to 15000
json
{
  "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.

KeyRequiredRules
nameYesUp to 100 characters, unique in the file
descriptionNoUp to 255 characters. Empty becomes no description

The file does not add members.

roles

An array of custom roles, created or updated by name.

KeyRequiredRules
nameYesUp to 50 characters, unique in the file. Cannot be Admin, Editor, Viewer, or Agent User
descriptionNoUp to 255 characters
permissionsYesAt least one. Each must be an exact string from Permissions. No duplicates
workspacesNoWorkspace 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

FieldLimit
File size200,000 bytes
File pathEnds in .json. Segments use letters, digits, ., _, -. Up to 200 characters
Branch, tag, or commitLetters, digits, ., _, -. Up to 100 characters
Workspace, provider, connection, and provider reference names100 characters
Role names50 characters
Descriptions255 characters
baseUrl500 characters
Secret reference name and key128 characters
Vault path255 characters
Vault mount64 characters
Models per provider100
Tools per provider50
Privacy entity lists40 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.

Related