Skip to content

Get the caller's effective settings

GET
/settings/me
curl --request GET \
--url https://example.com/api/v1/settings/me

The current user’s resolved settings, client-visible namespaces only, no provenance. Feeds the SPA at boot. Requires authentication.

OK

Media type application/json
object
$schema

A URL to the JSON Schema for this object.

string format: uri
values
required
object
agent
required
object
credential_destination
required

Policy for an agent’s calls that may point a stored credential somewhere (any operation gated on secret:bind)

string
default: ask
Allowed values: always ask never
destructive
required

Policy for an agent’s writes that overwrite or delete (a PATCH, PUT or DELETE)

string
default: ask
Allowed values: always ask never
read
required

Policy for an agent’s reads (a GET, or a POST gated on a read permission)

string
default: always
Allowed values: always ask never
roles

Per-role overrides, keyed by role name: a class set here applies to the agents of anyone granted the role, when it is stricter

object
key
additional properties
object
credential_destination

Policy for this role’s agents’ calls that may point a stored credential somewhere

string
Allowed values: always ask never
destructive

Policy for this role’s agents’ writes that overwrite or delete

string
Allowed values: always ask never
read

Policy for this role’s agents’ reads

string
Allowed values: always ask never
write

Policy for this role’s agents’ writes that create or act

string
Allowed values: always ask never
tools

Per-tool overrides, keyed by operation ID (an MCP tool’s name): always, ask or never, applied on top of the tool’s class when stricter

object
key
additional properties
string
write
required

Policy for an agent’s writes that create or act (a POST that is not a read)

string
default: ask
Allowed values: always ask never
assistant
required
object
base_url
required

The server’s base URL, /chat/completions appended. An internal server is reached only when the notification settings’ egress_allow names it. Moving it from the console or API while a key_secret is bound takes secret:bind on that secret; the settings file and environment are trusted as deployment config

string
default: https://openrouter.ai/api/v1
conversation_days
required

Days a stored omnibot conversation is kept after it last changed

integer format: int64
default: 30 >= 1 <= 36500
key_secret
required

A platform api-key secret, by name, sent as the bearer on every model call; empty calls without a key (a local server). Setting it from the console or API takes secret:bind on it; the settings file and environment are trusted as deployment config. The key never leaves the server

string
model
required

The model’s name on that server (openai/gpt-4.1-mini on OpenRouter, llama3.1 on Ollama)

string
default: openai/gpt-4.1-mini
provider
required

The model omnibot runs on: openai (any OpenAI-compatible chat completions server, OpenRouter by default) or none, which leaves the server’s recording, if any

string
default: none
Allowed values: none openai
collection
required
object
report_seconds
required

Seconds each endpoint’s collection telemetry covers: its polls’ mean duration and failures, and the pushes its listeners claimed or did not, reported once a window

integer format: int64
default: 60 >= 10 <= 3600
database
required
object
slow_query_ms
required

Milliseconds a query may run before the server logs it as slow (its statement’s shape and duration, never its values) and counts it; 0 turns the log off

integer format: int64
default: 500 <= 600000
heartbeat
required
object
interval_seconds
required

Seconds between heartbeats

integer format: int64
default: 60 >= 10 <= 86400
target
required

The webhook notification target the server sends its heartbeat to, by name; empty turns the heartbeat off. The request is signed by the target’s bound hmac-key secret and subject to the egress allow list

string
keybindings
required
object
close_blade
required

Close the top blade

string
default: Escape
command_palette
required

Open the command palette

string
default: mod+k
open_detail
required

Open the detail blade

string
default: d
open_edit
required

Open the edit pane

string
default: e
label
required
object
acronyms
required

Words a generated label title-cases to a fixed form, whole-word and case-insensitive

Array<string>
default: AV,BYOD,DSP,EDID,HDBaseT,HDCP,HDMI,IP,IR,KVM,LAN,LCD,LED,MTR,NDI,NVR,OLED,PC,PoE,PTZ,RF,SDI,SIP,TV,UC,USB,VC,VLAN,4K,8K
notification
required
object
console_url
required

The console’s base URL as a receiver of a notification reaches it (https://omniglass.example.com); the prefix of the Link a notification’s subject and text read. Empty leaves Link empty

string
egress_allow
required

The internal destinations a notification may reach, each a CIDR (10.20.0.0/16), an address, or a host name (chat.corp.example). Everything private, loopback or link-local is refused unless named here; a cloud metadata address is refused even when it is; plain http is admitted only to a destination named here

Array<string>
mail_from
required

The From address of an email notification (Omniglass alerts@example.com)

string
mail_relay
required

The SMTP relay email notifications go through, host:port (smtp.example.com:587). Empty turns email off. An internal relay is reached only when egress_allow names it

string
mail_secret
required

A platform basic-auth secret, by name, the relay session authenticates with; empty sends without authenticating. Setting it from the console or API, or moving mail_relay there while one is set, takes secret:bind on that secret; the settings file and environment are trusted as deployment config

string
mail_security
required

How the session to the relay is protected: starttls (the relay must offer it), tls (implicit TLS, port 465), or none, admitted only for a relay egress_allow names (a lab’s mail sim)

string
default: starttls
Allowed values: starttls tls none
retention
required
object
log_debug_days
required

Days a debug log line is kept

integer format: int64
default: 3 >= 1 <= 36500
log_error_days
required

Days an error, critical, alert or emergency log line is kept

integer format: int64
default: 90 >= 1 <= 36500
log_info_days
required

Days an info or notice log line, or one with no severity, is kept

integer format: int64
default: 14 >= 1 <= 36500
log_warning_days
required

Days a warning log line is kept

integer format: int64
default: 30 >= 1 <= 36500
metric_days
required

Days a metric sample is kept, unless its type keeps its own (a metric type’s retention_days); a sample on the lane’s window leaves with its UTC day, up to a day later; at least 3, the shortest window that folds into blocks

integer format: int64
default: 14 >= 1 <= 36500
outpost_log_debug_days

Days an outpost’s own debug log line is kept; unset follows log_debug_days

integer format: int64
>= 1 <= 36500
outpost_log_error_days

Days an outpost’s own error, critical, alert or emergency log line is kept; unset follows log_error_days

integer format: int64
>= 1 <= 36500
outpost_log_info_days

Days an outpost’s own info or notice log line, or one with no severity, is kept; unset follows log_info_days

integer format: int64
>= 1 <= 36500
outpost_log_warning_days

Days an outpost’s own warning log line is kept; unset follows log_warning_days

integer format: int64
>= 1 <= 36500
property_days
required

Days a property transition is kept, unless its type keeps its own (a property type’s retention_days)

integer format: int64
default: 90 >= 1 <= 36500
trend_days
required

Days an hourly metric trend is kept (#1276)

integer format: int64
default: 730 >= 1 <= 36500
sso
required
object
client_secret
required

A platform oauth2-client secret, by name: its client_id field is the client id Omniglass is registered as, its client_secret field authenticates the token exchange. Setting it from the console or API takes secret:bind on it; the settings file and environment are trusted as deployment config

string
groups_claim
required

The id_token claim carrying the person’s groups at the provider (read by group mapping, #2363)

string
default: groups
issuer
required

The identity provider’s issuer URL exactly as its id_tokens carry it (https://login.example.com/realms/corp). Empty turns single sign-on off. An on-premises provider is reached only when the notification settings’ egress_allow names it. Moving it from the console or API while client_secret is bound takes secret:bind on that secret; the settings file and environment are trusted as deployment config

string
recheck_grace_minutes
required

Minutes a link may go without a refresh the provider accepted (an outage) before its sessions and tokens are refused until one is; also the length of a session through a provider that issues no refresh token

integer format: int64
default: 60 >= 1 <= 10080
recheck_minutes
required

Minutes between re-checks: each link with a live session or token through it redeems its refresh token at the provider, and a refusal revokes them

integer format: int64
default: 15 >= 1 <= 1440
scopes
required

The scopes a sign-in asks for, space-separated. offline_access asks for the refresh token the re-check redeems; a provider that issues none gives sessions of recheck_grace_minutes and no API tokens

string
default: openid email profile offline_access
ui
required
object
default_landing
required

Route the console opens to (an absolute path)

string
default: / /^//
theme
required

Console color theme

string
default: omniglass-dark
Allowed values: omniglass-dark omniglass-light

Example

{
"$schema": "/api/v1/schemas/SettingsMeOutputBody.json",
"values": {
"agent": {
"credential_destination": "always",
"destructive": "always",
"read": "always",
"roles": {
"additionalProperty": {
"credential_destination": "always",
"destructive": "always",
"read": "always",
"write": "always"
}
},
"write": "always"
},
"assistant": {
"base_url": "https://openrouter.ai/api/v1",
"conversation_days": 30,
"model": "openai/gpt-4.1-mini",
"provider": "none"
},
"collection": {
"report_seconds": 60
},
"database": {
"slow_query_ms": 500
},
"heartbeat": {
"interval_seconds": 60
},
"keybindings": {
"close_blade": "Escape",
"command_palette": "mod+k",
"open_detail": "d",
"open_edit": "e"
},
"label": {
"acronyms": [
"AV",
"BYOD",
"DSP",
"EDID",
"HDBaseT",
"HDCP",
"HDMI",
"IP",
"IR",
"KVM",
"LAN",
"LCD",
"LED",
"MTR",
"NDI",
"NVR",
"OLED",
"PC",
"PoE",
"PTZ",
"RF",
"SDI",
"SIP",
"TV",
"UC",
"USB",
"VC",
"VLAN",
"4K",
"8K"
]
},
"notification": {
"mail_security": "starttls"
},
"retention": {
"log_debug_days": 3,
"log_error_days": 90,
"log_info_days": 14,
"log_warning_days": 30,
"metric_days": 14,
"property_days": 90,
"trend_days": 730
},
"sso": {
"groups_claim": "groups",
"recheck_grace_minutes": 60,
"recheck_minutes": 15,
"scopes": "openid email profile offline_access"
},
"ui": {
"default_landing": "/",
"theme": "omniglass-dark"
}
}
}

Error

Media type application/problem+json
object
$schema

A URL to the JSON Schema for this object.

string format: uri
detail

A human-readable explanation specific to this occurrence of the problem.

string
errors

Optional list of individual error details

Array<object> | null
object
location

Where the error occurred, e.g. ‘body.items[3].tags’ or ‘path.thing-id’

string
message

Error message text

string
value

The value at the given location

instance

A URI reference that identifies the specific occurrence of the problem.

string format: uri
status

HTTP status code

integer format: int64
title

A short, human-readable summary of the problem type. This value should not change between occurrences of the error.

string
type

A URI reference to human-readable documentation for the error.

string format: uri
default: about:blank

Example

{
"$schema": "/api/v1/schemas/ErrorModel.json",
"detail": "Property foo is required but is missing.",
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "about:blank"
}