Skip to content

Reset Performance Settings

POST
/api/data/settings/performance/reset

Reset Performance Optimizer settings to code defaults.

The Performance tab edits both PerformanceOptimizerConfig and the surviving Etherforce orchestration knobs (handler timeouts, lorekeeper budgets, edit pipeline, benchmark, response cache, manuscript encryption — Stage 5 of the M16 plan). A single reset has to wipe both surfaces so the user’s mental model of “Restore Performance Defaults” actually restores everything the tab shows.

Successful Response

PerformanceOptimizerSettingsResponse
object
cpuAlertThreshold
required
Cpualertthreshold

CPU usage alert threshold (%)

integer
memoryAlertThreshold
required
Memoryalertthreshold

Memory usage alert threshold (%)

integer
bottleneckThresholdSeconds
required
Bottleneckthresholdseconds

Operation duration to flag as bottleneck (s)

number
cacheTtlSeconds
required
Cachettlseconds

Query cache TTL (s)

integer
cacheMaxSize
required
Cachemaxsize

Maximum number of cached query results

integer
metricsRetentionHours
required
Metricsretentionhours

Hours to retain performance metrics

integer
monitoringIntervalSeconds
required
Monitoringintervalseconds

System metrics collection interval (s)

integer