CLIProxyAPI Tray saves its state and preferences toDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/kitephp/CLIProxyAPI-Tray/llms.txt
Use this file to discover all available pages before exploring further.
settings.json. This file tracks the installed CLIProxyAPI version, system architecture, and toggle settings. It is managed automatically — you rarely need to edit it directly.
File location
The tray resolvessettings.json using a primary path with an automatic fallback.
| Priority | Path |
|---|---|
| Primary | <script directory>\settings.json |
| Fallback | %LOCALAPPDATA%\CLIProxyAPI_Tray\settings.json |
Reading logic
On startup, the tray reads both the primary and fallback locations (if they exist) and uses the file with the most recentLastWriteTimeUtc. This ensures the most up-to-date settings are always loaded, regardless of which path was last written to.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
version | string | null | The installed CLIProxyAPI version tag, e.g. "v6.7.37". Used to locate the binary at versions/{version}/cli-proxy-api.exe. |
arch | string | detected | System architecture: "amd64" or "arm64". Detected automatically at runtime. |
autoOpenWebUI | boolean | true | When true, the WebUI opens automatically after Start, Restart, and Update. Also opens on tray startup if CLIProxyAPI is already running. |
autoUpdate | boolean | false | When true, the tray checks for a newer CLIProxyAPI release on every tray startup and installs it without a confirmation dialog. |
updatedAt | string | — | ISO 8601 timestamp of the last save. Written automatically — do not edit this manually. |
Legacy field cleanup
Any fields from older versions ofsettings.json that are no longer recognized are automatically removed the next time the tray saves state. You do not need to clean up old files manually.
Do not manually set
version to a tag that does not exist in the versions/ directory. If the binary is missing, the tray will prompt you to download it again before starting the service.