/v1/settings
Get Settings
Section titled “Get Settings”GET /v1/settingsResponse
Section titled “Response”{ "general": { "host": "127.0.0.1", "port": 8787, "mode": "balanced" }, "byok": { "openai_key": "sk-...", "anthropic_key": "sk-ant-...", "groq_key": "gsk-...", "openrouter_key": "sk-or-...", "backend_url": "https://api.fastlane.dev", "device_id": "abc-123-def" }}Update Settings
Section titled “Update Settings”POST /v1/settingsContent-Type: application/json{ "general": { "host": "127.0.0.1", "port": 8787, "mode": "accurate" }, "byok": { "openai_key": "sk-new-key" }}Response
Section titled “Response”{ "status": "saved", "restart_required": true}Settings changes require a proxy restart to take effect. The API saves to disk, but the running process uses the settings loaded at startup.