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)
- URL: /api/settings
- Auth: HTTP bearer
Request body
Example request
{
"agent_sandbox": {
"cpu_limit": 4,
"default_provider": "claude_cli",
"memory_limit_mb": 8192,
"network_mode": "full",
"runtime": "node",
"sandbox_backend": "docker"
},
"ai_chat_limits": {
"turn_timeout_secs": 900
},
"ai_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
},
"build_limits": {
"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,
"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
},
"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",
"hourly_cap": 10,
"max_concurrent": 3,
"zone": "1.2.3.4.sslip.io"
},
"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
- info
- info
added the new optional request property
- info