Overview
The Configuration Management API allows you to read and modify switchAILocal’s configuration at runtime without restarting the server.Get Configuration
JSON Format
YAML Format
Update Configuration
Configuration changes are applied immediately without server restart. The
config.yaml file is updated on disk.Individual Settings
Debug Mode
- Get
- Update
File Logging
- Get
- Update
Request Logging
- Get
- Update
WebSocket Authentication
- Get
- Update
Usage Statistics
- Get
- Update
Proxy Settings
- Get
- Update
- Delete
Retry Configuration
Request Retry
- Get
- Update
Max Retry Interval
- Get
- Update
Quota Configuration
Switch Project on Quota
- Get
- Update
Switch Preview Model
- Get
- Update
Monitoring
Server Logs
lines- Number of lines to retrieve (default: 100)level- Filter by log level:debug,info,warn,error
Delete Logs
Request Error Logs
Download Error Log
Get Request by ID
State Box
Version Check
Hot-Reload Operations
Reload Steering Rules
Reload Hooks
Python Examples
JavaScript Examples
Next Steps
Provider Management
Manage AI provider settings
Authentication
Set up management authentication
Configuration Guide
Learn about configuration options