---
title: "Get application settings"
method: GET
path: "/settings"
tags: ["Settings"]
---

# Get application settings

`GET /settings`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/settings`
- Auth: HTTP bearer

## Response `200`

Application settings with masked sensitive fields

- AppSettingsResponse: Safe response for application settings that masks sensitive fields
  - `agent_sandbox` AgentSandboxSettingsMasked, required: Agent sandbox settings with masked per-provider credentials. Each provider entry reports only whether a credential is saved, not the encrypted blob itself. Non-sensitive fields (auth_type, default_model, extra) are passed through so the UI can render provider-specific state.
    - `api_key_saved` boolean, required
    - `auth_type` string, required
    - `cpu_limit` number, double, required
    - `custom_image` string, required
    - `default_provider` string, required
    - `enabled` boolean, required
    - `max_cpu_limit` number, double, nullable: Operator ceiling for a sandbox create request's `cpu_limit`; `null` = built-in.
    - `max_memory_limit_mb` integer, nullable: Operator ceiling for `memory_limit_mb`; `null` = built-in.
    - `max_pids_limit` integer, nullable: Operator ceiling for `pids_limit`; `null` = built-in.
    - `max_sandboxes_per_user` integer, nullable: Most live sandboxes per user; `null` = unlimited.
    - `memory_limit_mb` integer, required
    - `network_mode` string, required
    - `providers` object, required
    - `runtime` string, required
    - `sandbox_backend` string, required
  - `ai_chat_limits` AiChatLimitsSettings, required: Per-turn limits for the AI chat. No sensitive content.
    - `turn_timeout_secs` integer: How long one turn may run before it is stopped and the partial answer returned, in seconds. The user is told the turn was cut short. Checked between steps, not mid-call: a model round already in flight finishes, so a turn can overrun by up to one round. Against a slow self-hosted model that is a minute or two. Aborting mid-stream would cut the answer off in the middle of a sentence and throw away work already paid for, which is worse than a late stop.
  - `ai_config` AiConfigSettings, required: Global AI configuration settings. Controls the default config repo containing `.claude/` directory (skills, MCP servers, plugins) that gets overlaid into every agent sandbox.
    - `config_repo` string: Global config repo URL in "owner/repo" format (e.g. "myorg/claude-config"). Cloned at agent run time and overlaid into the sandbox's `.claude/` directory.
    - `config_repo_allowlist` string[]: Repositories a project's agents may name as their own `config_repo`, besides the project's own repository. An entry is `owner/repo`, or an owner followed by a slash and an asterisk to allow every repository of that owner. The global config repo above is the administrator's own choice and does not need to be listed.
    - `config_repo_branch` string: Branch of the config repo to use.
  - `ai_workspace_file_limits` AiWorkspaceFileLimitsSettings, required: Persistent AI workspace file transfer and preview limits.
    - `max_download_size_mb` integer
    - `max_file_size_mb` integer
    - `max_files_per_upload` integer
    - `max_image_preview_size_mb` integer
    - `max_text_preview_kb` integer
    - `max_upload_size_mb` integer
    - `max_workspace_entries` integer
    - `max_workspace_size_mb` integer
  - `analytics_retention` AnalyticsRetentionSettings, required: Retention of analytics events and of the visitors and client IP addresses attached to them.
    - `error_events_days` integer, nullable: Retain captured error events for this many days. `null` keeps them until the project is deleted. Error groups keep their counters.
    - `events_days` integer: Retain analytics events (page views, custom events) for this many days. Applied to the TimescaleDB events policy and, when configured, the ClickHouse events TTL. Reconciled hourly and after ClickHouse migrations. ClickHouse expiry follows asynchronous background merges.
    - `unreferenced_ip_days` integer, nullable: Delete a stored client IP address (and its derived location) once nothing references it and it has not been looked up for this many days. Never applied sooner than the proxy-log retention (`observability_retention.proxy_logs_days`): request logs kept outside PostgreSQL still point at the address. `null` keeps every address ever seen.
    - `visitor_days` integer, nullable: Delete visitors that have not been seen for this many days. Their session replays are deleted with them. With ClickHouse enabled, their project-scoped events are deleted from both databases; failures leave visitors for retry. With PostgreSQL only, events are detached and kept. Proxy logs and error events keep their own retention. This is not erasure of all visitor data. `null` keeps visitors indefinitely.
  - `backup_executor` BackupExecutorSettings, required: Backup executor concurrency. No sensitive content.
    - `max_concurrent` integer: Backup jobs run concurrently on this control plane.
  - `build_limits` BuildLimitsSettings, required: Build-time resource limits (control-plane only). No sensitive content, passed through as-is.
    - `build_cache_max_gb` integer: Upper bound for Docker's build cache, in gigabytes. The nightly cleanup removes the least recently used cache records that no build is using until the total is at or below this size. 0 disables the size cap (only `build_cache_max_unused_days` applies). Re-read on every nightly run. Applies to this host's Docker daemon; worker nodes use the default.
    - `build_cache_max_unused_days` integer: Build cache records unused for longer than this many days are removed by the nightly cleanup, whatever the total size. Valid range 1..=365.
    - `cpu_limit_cores` number, float: CPU cores allowed per build (float, e.g. 2.0 = 2 cores, 0.5 = half a core). 0 means "use the legacy 50%-of-host default". Applied only by Docker's legacy builder: BuildKit, the default since Docker 18.09, ignores the CPU and memory options of the image build API, so on BuildKit hosts this has no effect. Applies live to builds that start after the change; a running build keeps the cap it started with.
    - `max_concurrent` integer: Maximum number of `docker build` operations allowed to run at the same time on the control plane. Additional builds queue. Min 1. Applies live: raising it starts queued builds right away; lowering it lets running builds finish and holds new ones until they do.
    - `memory_limit_mb` integer: Memory allowed per build, in megabytes. 0 means "use the legacy 50%-of-host default". Same scope as `cpu_limit_cores`: applied only by the legacy builder, ignored by BuildKit, applied live to builds that start after the change. Values above 2047 MB are reduced to 2047 MB, the most the build API accepts through the client, with a warning in the server log.
  - `bunny_new_projects` boolean, required
  - `clickhouse` ClickHouseSettingsResponse, required: ClickHouse wire compression: the stored choice, the mode the running process actually uses, and what the startup probe found. Always present; `configured: false` explains what is missing instead of the section disappearing.
    - `available_compressions` ClickHouseCompression[], required: The modes that can be chosen.
    - `compression` 'lz4' | 'none', required: The stored mode: what the next start will use.
    - `configured` boolean, required: Whether the instance has a ClickHouse connection (`TEMPS_CLICKHOUSE_*`). When `false` the compression setting is stored but has nothing to apply to yet.
    - `connection` ClickHouseConnectionStatus, required: Result of the last connection probe.
      - `database` string, nullable
      - `detail` string, nullable: Full operator-facing description of the failure.
      - `failure_kind` 'decode' | 'unreachable' | 'server' | 'other', nullable: Why the last ClickHouse probe failed.
      - `host` string, nullable: `host[:port]` of the configured server.
      - `last_checked_at` string, nullable: When the last probe finished (ISO 8601, `Z`).
      - `observed_compression_method` string, nullable: For decode failures: the compression method byte seen on the wire, e.g. `zstd (0x90)`.
      - `remedy` string, nullable: What to do about the failure, when there is a known remedy.
      - `server_version` string, nullable: Server version from the last successful probe, e.g. `26.9.17`.
      - `state` 'not_configured' | 'not_checked' | 'reachable' | 'failing', required: Where the connection to the instance's ClickHouse server stands.
    - `effective_compression` 'lz4' | 'none', nullable: Wire compression used on the HTTP connection to the instance's ClickHouse server. The `clickhouse` client asks for compressed responses (`compress=1`) and decodes exactly one codec, LZ4, but it never says which codec it wants, so it silently depends on the server's `network_compression_method` default. ClickHouse 26.9 changed that default to ZSTD, after which every response that carries rows fails with `decompression error: incorrect magic number`. Temps therefore makes the choice itself and never leaves it to the server default.
    - `reason` string, nullable: Why ClickHouse is unavailable, when `configured` is `false`.
    - `restart_required` boolean, required: True when `compression` differs from `effective_compression`: the stored change takes effect on the next restart.
    - `setup_path` string, nullable: Console path where the operator manages this, when `configured` is `false` or the probe is failing.
  - `cloud` CloudSettings, required: Managed control-plane destination and explicit export consent flags.
    - `backend_url` string: HTTPS origin used for enrollment and telemetry mirroring.
    - `backups_enabled` boolean: Explicit consent to export completed backup objects.
    - `console_access_enabled` boolean: Explicit operator consent to let Temps Cloud open this instance's console over the outbound relay, using managed OIDC authentication. Default off for every enrollment path. Linking, including unattended bootstrap, never enables console access; enable it explicitly in Settings > Temps Cloud or with `temps cloud console-access enable`.
    - `notifications_enabled` boolean: Explicit consent to send notifications through managed providers.
    - `telemetry_bulk_anomaly_factor` number, float, nullable: ADR-042 §6.3: how far a project's shipped bytes may exceed its pre-send estimate before the bulk activation stops that project. `None` — the default — resolves to [`DEFAULT_CLOUD_TELEMETRY_BULK_ANOMALY_FACTOR`]. The guard exists because an estimate that is wrong by an order of magnitude means a bug, and *a bug that costs money should stop* rather than run away with a customer's egress spend on a path that has no human confirm behind it. An operator setting on the singleton `settings` row rather than an environment variable, per CLAUDE.md: the right multiple depends on how heterogeneous that instance's spans actually are, which only the operator running it can know, and they must be able to widen it — or narrow it — without restarting the binary mid-activation. Below `1.0` every project would pause on its first chunk, and above [`MAX_CLOUD_TELEMETRY_BULK_ANOMALY_FACTOR`] the guard stops being a tuning knob and becomes an off switch. The settings write path rejects values outside that range, and the effective value is clamped on read besides; see [`CloudSettings::effective_bulk_anomaly_factor`]. The schema bounds below are documentation for a client; they are not what enforces this. The server validates the range on write.
    - `telemetry_bulk_rate_limit_spans_per_sec` integer, nullable: ADR-042 §3: optional throttle, in spans per second, on a **bulk Cloud telemetry activation** backfill. `None` — the default — is unthrottled, which is what "activate now" means and is right for an instance that is idle or being cut over deliberately. An operator running an activation against a live instance can set a ceiling so the backfill stops competing with their own read IO and with the Cloud ingest allowance. An operator setting on the singleton `settings` row rather than an environment variable, per CLAUDE.md, so it can be changed **while a job is running** — which is exactly when an operator discovers they need it, and exactly when restarting the binary would mean stopping an activation they have already paid for. The worker re-reads it each time it picks up a project, so a change takes effect at the next project boundary rather than at the next restart. Only the bulk worker reads this. The live Cloud-primary write path is a primary path and is never throttled; the offline `temps backfill cloud-telemetry` tool keeps its own `--rate-limit-spans-per-sec` flag, because it runs in a different process with the server stopped.
    - `telemetry_consent_bootstrapped` boolean: Set once Temps Cloud's bootstrap file has applied its telemetry-export consent (ADR-045 Amendment 2). Cloud drops that file on every upgrade of a hosted plane; this makes the consent apply exactly once, so an operator who later turns telemetry off is not overridden by the next upgrade. Never set on a self-hosted instance.
    - `telemetry_enabled` boolean: Explicit consent to mirror locally stored telemetry.
    - `telemetry_outbox_max_bytes` integer: ADR-041 §3d: hard ceiling, in bytes, on the durable span outbox that backs Cloud-primary telemetry writes. An operator setting on the singleton `settings` row rather than an environment variable, per CLAUDE.md, so it can be raised at runtime by the operator watching a queue fill up — which is exactly when they need to change it and exactly when restarting the binary is the worst available option. Expressed in **bytes and not rows**: the reference deployment is 3 vCPU / 4 GB, and a row count says nothing about disk on a table whose rows are serialized spans of wildly varying size. When the queue reaches this size the instance stops accepting new spans for Cloud-primary projects and records a gap window with a start, an end and a count — see [`DEFAULT_CLOUD_TELEMETRY_OUTBOX_MAX_BYTES`] for how the default is sized and what it buys.
  - `cloudflare_new_projects` boolean, required: Applies Cloudflare delivery only to future projects.
  - `cluster_dns` ClusterDnsSettings, required: Cluster-DNS resolver settings (ADR-024, experimental beta). No masking needed — `enabled` is a plain bool with no sensitive content. Passed through as-is so the settings UI can read and toggle the flag.
    - `enabled` boolean: Master switch. When `false` (default), no custom DNS is injected into containers — they use Docker's embedded DNS which forwards to the host's own `resolv.conf`. When `true`, the control-plane Hickory resolver is started and its bridge IP is injected as the first nameserver so `*.temps.local` FQDNs resolve inside containers.
    - `operator_chosen` boolean: Whether an operator has ever changed `enabled` themselves. Until then, the control plane turns cluster DNS on when the first worker joins, since cross-node links need `*.temps.local`. Set by the server when a save changes `enabled`; a client cannot clear it.
  - `connection_limits` ConnectionLimitSettings, required: Per-upstream concurrent-connection cap applied by the proxy to customer app traffic. No sensitive content. See issue #646.
    - `default_max_concurrent_connections` integer: Default max concurrent in-flight requests to a single project/environment's upstream, used when the project/environment hasn't set its own `max_concurrent_connections` override. `0` (the default) means unlimited — matches the "opt-in, never breaks an existing app on upgrade" philosophy already established for `RequestTimeoutSettings`.
  - `console_force_https` boolean, nullable: Whether plain-HTTP requests to the console host are redirected to HTTPS. `None` inherits the per-host certificate heuristic; `Some(b)` is an explicit operator override. No sensitive content.
  - `container_logs` ContainerLogSettings, required: Docker container log rotation settings Controls the `--log-opt max-size` and `--log-opt max-file` for containers
    - `cache_mb` integer: Disk budget, in MiB, for the collected-log read cache (`logs/cache` under the data dir): recently read chunk blocks, block indexes and bloom filters kept locally so searches over object storage do not re-fetch them (ADR-046 §6). Applied within a minute of saving; shrinking evicts immediately.
    - `head_buffer_mb` integer: Per-container cap, in MiB, on unsealed log lines held in memory (and the WAL) before they are sealed into a chunk object. Larger buffers mean fewer, bigger chunks; smaller ones bound memory per container.
    - `ingest_kib_per_sec` integer: Per-container ingestion budget, in KiB per second, enforced alongside `ingest_lines_per_sec`. `0` disables the byte limit. A project or managed service can override it (`log_ingest_kib_per_sec`).
    - `ingest_lines_per_sec` integer: Per-container ingestion budget, in lines per second. A container over budget has its excess lines dropped (not stored or indexed), a notice written into its log, and is listed as throttled in the log explorer. Up to 10 seconds of budget may arrive at once. `0` disables the line limit. Applied within a minute of saving. A project or managed service can override it (`log_ingest_lines_per_sec`).
    - `max_file` integer: Maximum number of rotated log files to keep (e.g., 3 means up to 3 x max_size total)
    - `max_size` string: Maximum size of each log file (e.g., "50m", "100m", "1g") Docker default is unlimited; we default to "50m" to prevent disk exhaustion
    - `service_max_file` integer: Maximum rotated log files for external service containers
    - `service_max_size` string: Maximum size for external service container logs (postgres, redis, etc.) Defaults to "20m" since services are typically less verbose than app containers
  - `disk_space_alert` DiskSpaceAlertSettings, required: Disk space alert settings for monitoring disk usage
    - `check_interval_seconds` integer: Interval in seconds between disk space checks
    - `enabled` boolean: Whether disk space alerts are enabled
    - `monitor_path` string, nullable: Restrict monitoring to the disk backing this path. When unset (the default), every mounted writable volume is monitored — including dedicated volumes such as `/var/lib/docker`.
    - `threshold_percent` integer: Threshold percentage (0-100) at which to trigger alerts
  - `dns_provider` DnsProviderSettingsMasked, required: DNS provider settings with masked sensitive fields
    - `cloudflare_api_key` string, nullable
    - `provider` string, required
  - `docker_registry` DockerRegistrySettingsMasked, required: Docker registry settings with masked sensitive fields
    - `ca_certificate` string, nullable
    - `enabled` boolean, required
    - `password` string, nullable
    - `registry_url` string, nullable
    - `tls_verify` boolean, required
    - `username` string, nullable
  - `edge_target` string, nullable: Public edge target that synced DNS records point at (IP → A/AAAA, else CNAME).
  - `effective_metrics_store` 'timescale_db' | 'click_house', required: The storage backend the runtime is **actually** using for metrics, after reconciling the `monitoring.store` toggle with the server's `TEMPS_CLICKHOUSE_*` configuration. When `monitoring.store` is `click_house` but those env vars are not fully set, the runtime falls back to TimescaleDB — in that case this reports `timescale_db` even though `monitoring.store` says `click_house`. The UI shows this as the effective backend and warns when it diverges from the configured store.
  - `effective_observability_store` 'timescale_db' | 'click_house', required: Storage backend actually used for proxy logs, OTel spans, and OTel metrics. OTel logs remain TimescaleDB-backed. Unlike resource metrics, these domains switch to ClickHouse whenever the server-level ClickHouse connection is configured; they do not use the monitoring store toggle.
  - `expose_platform_identity` boolean, required: Opt in to proxy-added platform branding in public application responses.
  - `external_url` string, nullable
  - `geo` GeoSettingsMasked, required: Geolocation refresh policy and freshness, with the MaxMind license key reported only as a boolean.
    - `effective_refresh_interval_hours` integer, required: Refresh cadence actually applied, with defaults and bounds resolved.
    - `effective_stale_lookup_days` integer, required: Staleness window actually applied, with defaults and bounds resolved.
    - `last_check_at` string, nullable: When a refresh was last attempted, successful or not (ISO 8601, UTC).
    - `last_check_status` string, nullable: `ok` or `error` for the most recent refresh attempt.
    - `last_error` string, nullable: Redacted reason the last refresh failed. Never contains the key.
    - `last_refreshed_at` string, nullable: When new database bytes were last installed (ISO 8601, UTC).
    - `maxmind_license_key_saved` boolean, required: True when a MaxMind license key is stored. The key is never returned.
    - `refresh_interval_hours` integer, nullable: `null` means the effective default (24 hours).
    - `source` string, nullable: `maxmind_official` or `bundled_github`.
    - `stale_lookup_days` integer, nullable: `null` means the effective default (30 days).
  - `image_retention` ImageRetentionSettings, required: Deployment-image retention policy. No sensitive content, passed through as-is so the settings UI can show and edit the system-wide default.
    - `default_hours` integer: Default hours to keep a built deployment image when the owning project has no `image_retention_hours` override. Valid range 1..=8760.
    - `enabled` boolean: Whether the nightly pass removes expired deployment images at all. Disabling it keeps every built image forever (the pre-0.1 behaviour).
  - `insecure_tls` boolean, required
  - `internal_url` string, nullable
  - `letsencrypt` LetsEncryptSettings, required
    - `email` string, nullable
    - `environment` string
  - `loopback_ja4_header` string, nullable: The header a trusted loopback proxy sends the visitor's JA4 in. `None` records no JA4 behind such a proxy.
  - `mcp_server` McpServerSettings, required: MCP (Model Context Protocol) server toggle (ADR-039). No sensitive content — passed through as-is so the settings UI can show and edit it.
    - `enabled` boolean: Master switch. When `false` (default), `GET /mcp/tools` returns `404` and all other MCP endpoints return `404` too. Set to `true` via the Settings UI to activate the MCP server.
  - `monitored_services_count` integer, nullable: Number of enabled, running services the MetricsScraper currently includes. Used for the lightweight storage estimate in the UI.
  - `monitoring` MonitoringSettingsMasked, required: Monitoring settings with the ClickHouse DSN masked. `clickhouse_url` can embed credentials (`http://user:pass@host`), so it is reported only as a boolean (`clickhouse_url_set`) rather than echoed back — consistent with how the DNS API key and Docker registry password are masked.
    - `clickhouse_url_set` boolean, required: True when a ClickHouse DSN is configured. The DSN itself is never returned over HTTP because it may contain credentials.
    - `enabled` boolean, required
    - `retention_daily_years` integer, required
    - `retention_hourly_days` integer, required
    - `retention_raw_days` integer, required
    - `scrape_interval_secs` integer, required
    - `store` 'timescale_db' | 'click_house', required: Which storage backend to use for the MetricsStore.
  - `multi_node` MultiNodeSettingsMasked, required: Multi-node settings with `join_token_hash` elided.
    - `cluster_ca_fingerprint` string, nullable: SHA-256 fingerprint of the cluster CA certificate (public — operators can verify it out of band; the CA private key is never exposed).
    - `cluster_network` ClusterNetworkSettings, nullable: Read-only cluster network state. The pool is changed through `PUT /settings/cluster-network` or `temps network setup-multi-node`, which refuse while any allocation is in use (ADR 056). `locked` means only that allocations exist: allocations never applied are re-assigned by a change, so whether it is allowed now is `GET /settings/cluster-network`'s `can_change`.
      - `allocation_count` integer, required
      - `compute_pool_cidr` string, required
      - `locked` boolean, required
      - `subnet_prefix_len` integer, required
    - `has_join_token` boolean, required
    - `legacy_shared_token_enabled` boolean, required: Whether the deprecated shared join token is still accepted.
    - `node_cpu_alert_percent` number, double, nullable: Node resource-alert thresholds (percent); `None` = that alert disabled.
    - `node_disk_alert_percent` number, double, nullable
    - `node_failover_after_secs` integer, nullable: Seconds without a heartbeat before a node's workloads are failed over; `None` = automatic failover disabled.
    - `node_memory_alert_percent` number, double, nullable
    - `private_address` string, nullable
    - `require_mtls` boolean, required: Whether control-plane↔agent mutual TLS is enforced.
  - `observability_compression` ObservabilityCompressionSettings, required: TimescaleDB compression delays for immutable proxy logs and OTel spans.
    - `otel_spans_after_hours` integer: Compress OpenTelemetry span chunks after this many hours. Defaults to 24 hours.
    - `proxy_logs_after_hours` integer: Compress proxy-log chunks after this many hours. Defaults to 24 hours.
  - `observability_retention` ObservabilityRetentionSettings, required: Retention windows for raw proxy logs and OpenTelemetry data.
    - `container_logs_days` integer: Retain collected container logs (chunk objects on disk/S3, their manifest rows, and the ClickHouse line index when configured) for this many days.
    - `otel_logs_days` integer: Retain OpenTelemetry log events for this many days.
    - `otel_metrics_days` integer: Retain OpenTelemetry metric points for this many days.
    - `otel_spans_days` integer: Retain OpenTelemetry spans (traces) for this many days.
    - `proxy_logs_days` integer: Retain proxy request logs for this many days.
  - `on_demand_tls` OnDemandTlsSettings, required: On-demand (lazy) HTTP-01 TLS issuance (ADR-018). No sensitive content, passed through as-is so operators can see whether on-demand certificates are enabled and for which zone.
    - `deployment_url_mode` string: How ephemeral per-deployment hostnames behave when they have no cert (they are NEVER certed — see ADR §2). One of: - `"http"` (default): serve plain HTTP on :80. - `"redirect_to_env"`: 308-redirect to the stable per-environment URL, which IS certed.
    - `enabled` boolean: Master switch. When `false` the proxy's on-demand cert gate rejects every SNI and no issuance is ever triggered. New installations start with it `true`; a stored settings row that predates this section keeps `false`.
    - `hourly_cap` integer: Global cap on total on-demand issuances per hour across all hostnames (ADR §4 Layer 3). The operator's self-imposed safety net, separate from the Let's Encrypt rate limit.
    - `max_concurrent` integer: Maximum number of ACME issuance flows allowed to run simultaneously (the concurrent-issuance semaphore, ADR §4 Layer 1). Min 1.
    - `zone` string, nullable: Zone suffix for the allowlist gate. A hostname passes the gate only if it is a direct subdomain of this zone (e.g. zone `1.2.3.4.sslip.io` admits `myapp.1.2.3.4.sslip.io` but not `deep.sub.1.2.3.4.sslip.io`). `None` (default) means "auto-derive from `external_url`"; if no zone can be derived the gate rejects all SNI, disabling the feature.
  - `otel_ingest` OtelIngestSettingsMasked, required: OTLP ingest limits, background jobs and S3 log archival. The archive credentials are reported only as booleans.
    - `enable_anomaly_detection` boolean, required
    - `enable_health_compute` boolean, required
    - `quota_gb_per_project` integer, nullable: `null` (or `0`) means per-project quotas are disabled.
    - `rate_limit_requests` integer, required
    - `rate_limit_window_secs` integer, required
    - `s3_archive` OtelS3ArchiveSettingsMasked, required: OTel S3 log archive settings with credentials reduced to booleans.
      - `access_key_saved` boolean, required: True when an access key is stored. The key is never returned.
      - `bucket` string, nullable
      - `configured` boolean, required: Whether archival has everything it needs (region, bucket, both keys).
      - `endpoint` string, nullable
      - `prefix` string, required
      - `region` string, nullable
      - `secret_key_saved` boolean, required: True when a secret key is stored. The key is never returned.
  - `plugin_installation_reporting_enabled` boolean, required: Consent for verified external-plugin installation count reporting.
  - `preview_domain` string, required
  - `preview_gateway` PreviewGatewaySettingsMasked, required: Preview gateway settings with `shared_secret` elided.
    - `auto_upgrade` boolean, required
    - `host_port` integer, required
    - `image` string, required
    - `shared_secret_set` boolean, required
  - `proxy_port` integer, required: Port the main Pingora proxy listens on (parsed from `--address`), the same value `ConfigService::proxy_port()` feeds into `compute_deployment_url`/`compute_environment_url` when `external_url` is unset. The console uses this to preview a project's real `{slug}-{env_slug}.{preview_domain}:{port}` URL before it's deployed.
  - `public_ingress_url` string, nullable: Base URL handed to third parties that call back into Temps (ADR-051). `None` means callbacks use `external_url`; see `GET /settings/public-ingress` for the effective value.
  - `rate_limiting` RateLimitSettings, required
    - `blacklist_ips` string[]
    - `enabled` boolean
    - `max_requests_per_hour` integer
    - `max_requests_per_minute` integer
    - `whitelist_ips` string[]
  - `registry_mirror_prefix` string, nullable: Prefix applied to implicit Docker Hub base images in generated Dockerfiles (e.g. autopack's `FROM node:22-slim`). No sensitive content, passed through as-is. `None`/empty disables rewriting.
  - `request_timeouts` RequestTimeoutSettings, required: Upstream request/connection timeouts (hard ceiling + defaults) applied by the proxy to customer app traffic. No sensitive content.
    - `default_http_timeout_seconds` integer: Default timeout for regular (non-streaming) HTTP requests, in seconds. Used when a project/environment hasn't set `request_timeout_seconds`. `0` (the default) means no timeout.
    - `default_sse_idle_timeout_seconds` integer: Default idle timeout for Server-Sent Events streams, in seconds. Used when a project/environment hasn't set `sse_idle_timeout_seconds`. `0` (the default) means no timeout.
    - `default_websocket_idle_timeout_seconds` integer: Default idle timeout for WebSocket connections, in seconds. Used when a project/environment hasn't set `websocket_idle_timeout_seconds`. `0` (the default) means no timeout.
    - `max_request_timeout_seconds` integer: Hard ceiling, in seconds, applied once a timeout is configured (via a global default above or a project/environment override). Has no effect on traffic with no timeout configured at all.
  - `require_mfa_for_admins` boolean, required: When enabled, Admin-role accounts without MFA enrolled are rejected at password login (bherila/temps#32). SSO/OIDC logins are unaffected.
  - `screenshots` ScreenshotSettings, required
    - `enabled` boolean
    - `provider` string
    - `url` string
  - `security_headers` SecurityHeadersSettings, required
    - `content_security_policy` string, nullable
    - `enabled` boolean
    - `permissions_policy` string, nullable
    - `preset` string
    - `referrer_policy` string
    - `strict_transport_security` string
    - `x_content_type_options` string
    - `x_frame_options` string
    - `x_xss_protection` string
  - `self_update` SelfUpdateSettings, required: Whether admins may apply a release from the console. This is the database-backed toggle only — a server started with `--disable-self-update` refuses regardless of what this says, which `GET /settings/update` reports as the authoritative answer.
    - `channel` string, nullable: Release channel this install tracks: `stable`, `beta` or `nightly`. `None` (the default) means "infer from the running version tag", which is what the CLI has always done — a `-nightly.` build tracks nightly, a `-beta.N` build tracks beta, a plain tag tracks stable. Setting it explicitly pins the channel, so an operator can move a nightly box back onto stable without reinstalling.
    - `enabled` boolean: Allow admins to apply a release and restart the server from the console. `true` by default: the action is permission-gated, audited, and only ever installs an official release whose published SHA-256 matches. Turning this off hides nothing — the console still shows the update banner and the manual command, it just refuses to run it for you.
  - `setup_complete` boolean, required: Whether `temps setup` has been run at least once. The web onboarding wizard checks this field on load and skips itself when true.
  - `tenant_resource_ceilings` TenantResourceCeilings, required: Upper bounds a project/environment override may not exceed. No sensitive content — this is operator policy the settings UI edits directly. Unenforced by default.
    - `allow_unlimited_request_timeouts` boolean: Whether a project/environment may set a request, SSE or WebSocket timeout of `0` ("no timeout"). `true` (the default) preserves current behaviour. Nonzero tenant timeouts need no ceiling here: they are already clamped to [`RequestTimeoutSettings::ceiling`] at resolution time. `0` escapes that clamp by construction — it means "no timeout is configured", so there is nothing to clamp — which is precisely the hole this closes.
    - `max_concurrent_connections` integer: Largest `max_concurrent_connections` a project/environment may set. `0` (the default) leaves it unenforced. As with memory, a project value of `0` means unlimited and is refused whenever this ceiling is set.
    - `max_memory_limit_mb` integer: Largest `memory_limit` (MB) a project/environment may set for its containers. `0` (the default) leaves it unenforced. A project value of `0` means "no cgroup limit at all", so it is refused whenever this ceiling is set — that is the case that OOMs the host, not merely a large number.
  - `trust_loopback_forwarded_ip` boolean, required: Database-backed opt-in; this is the sole control surface for every proxy process, including a standalone `temps proxy`.
  - `trusted_private_networks` string[], required: Private networks (normalized CIDRs) that user-configured outbound requests may reach despite the SSRF guard. Empty means none.
  - `trusted_proxy_cidrs` string[], required: Inbound proxy IP addresses/CIDRs trusted for forwarded client IP headers.

## Other responses

- `401`: Unauthorized
- `500`: Internal server error

## Changes

- **2026-11-16** `3d1a00c14282`: 1 info
  - added the required property `trusted_proxy_cidrs` to the response with the `200` status
- **2026-11-15** `c5965797b8b1`: 1 info
  - added the optional property `ai_config/config_repo_allowlist` to the response with the `200` status
- **2026-11-15** `4e654843cab2`: 1 warning
  - removed the optional property `ai_config/config_repo_allowlist` from the response with the `200` status
- **2026-11-15** `a4c9f6e36889`: 1 info
  - added the optional property `ai_config/config_repo_allowlist` to the response with the `200` status
- **2026-11-09** `6755a5dce036`: 1 info
  - added the required property `expose_platform_identity` to the response with the `200` status

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/settings/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
