Settings
Update application settings
Changed onput/settings
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
Request body
Example request
{
"agent_sandbox": {
"cpu_limit": 4,
"default_provider": "claude_cli",
"max_cpu_limit": 4,
"max_memory_limit_mb": 8192,
"max_pids_limit": 1024,
"max_sandboxes_per_user": 10,
"memory_limit_mb": 8192,
"network_mode": "full",
"runtime": "node",
"sandbox_backend": "docker"
},
"ai_chat_limits": {
"turn_timeout_secs": 900
},
"ai_config": {
"config_repo_allowlist": [
"myorg/claude-config"
],
"config_repo_branch": "main"
},
"ai_workspace_file_limits": {
"max_download_size_mb": 32,
"max_file_size_mb": 16,
"max_files_per_upload": 32,
"max_image_preview_size_mb": 8,
"max_text_preview_kb": 256,
"max_upload_size_mb": 32,
"max_workspace_entries": 5000,
"max_workspace_size_mb": 256
},
"analytics_retention": {
"error_events_days": 90,
"events_days": 365,
"unreferenced_ip_days": 30,
"visitor_days": 425
},
"backup_executor": {
"max_concurrent": 4
},
"blob": {
"container_name": "rustfs-temps-blob-staging"
},
"build_limits": {
"build_cache_max_gb": 10,
"build_cache_max_unused_days": 7,
"cpu_limit_cores": 2,
"max_concurrent": 2,
"memory_limit_mb": 2048
},
"cloud": {
"telemetry_bulk_anomaly_factor": 5,
"telemetry_bulk_rate_limit_spans_per_sec": 5000,
"telemetry_outbox_max_bytes": 536870912
},
"connection_limits": {
"default_max_concurrent_connections": 200
},
"container_logs": {
"cache_mb": 2048,
"head_buffer_mb": 8,
"ingest_kib_per_sec": 256,
"ingest_lines_per_sec": 250,
"max_file": 3,
"max_size": "50m",
"service_max_file": 3,
"service_max_size": "20m"
},
"disk_space_alert": {
"check_interval_seconds": 300,
"threshold_percent": 80
},
"geo": {
"refresh_interval_hours": 24,
"stale_lookup_days": 30
},
"image_retention": {
"default_hours": 336
},
"kv": {
"container_name": "redis-temps-kv-staging"
},
"managed_service_healthchecks": {
"interval_secs": 60,
"start_interval_secs": 2
},
"monitoring": {
"retention_daily_years": 2,
"retention_hourly_days": 90,
"retention_raw_days": 7,
"scrape_interval_secs": 30
},
"observability_compression": {
"otel_spans_after_hours": 24,
"proxy_logs_after_hours": 24
},
"observability_retention": {
"container_logs_days": 30,
"otel_logs_days": 90,
"otel_metrics_days": 90,
"otel_spans_days": 90,
"proxy_logs_days": 30
},
"on_demand_tls": {
"deployment_url_mode": "http",
"enabled": true,
"hourly_cap": 10,
"max_concurrent": 3,
"zone": "1.2.3.4.sslip.io"
},
"otel_ingest": {
"rate_limit_requests": 1000,
"rate_limit_window_secs": 60
},
"preview_gateway": {
"auto_upgrade": true,
"container_name": "temps-preview-gateway",
"enabled": true,
"host_port": 8090,
"image": "ghcr.io/gotempsh/temps-preview-gateway@sha256:02d5cdd382c3285d569032e84321d5ce8fc089372a3f08651119f6eda8cb1448"
},
"request_timeouts": {
"max_request_timeout_seconds": 600
},
"self_update": {
"channel": "stable",
"enabled": true
},
"tenant_resource_ceilings": {
"max_concurrent_connections": 200,
"max_memory_limit_mb": 4096
}
}Response
Settings updated successfully
Changes
- info
added the new optional request property
trusted_proxy_cidrs
- info
- info
added the new optional request property
ai_config/config_repo_allowlist - info
the
ai_configrequest property default value changed from{"config_repo":"","config_repo_branch":"main"}to{"config_repo":"","config_repo_allowlist":[],"config_repo_branch":"main"}
- info