Config file
After you runomium init, settings are stored in:
- macOS / Linux:
~/.omium/config.json - Windows:
%USERPROFILE%\\.omium\\config.json
| Field | Meaning |
|---|---|
api_key | API key (starts with omium_) |
api_url | API host URL, e.g. https://api.omium.ai (no /api/v1) |
region | Optional region identifier |
Environment overrides
Environment variables override the config file. This is the recommended approach for servers and CI.| Variable | Meaning |
|---|---|
OMIUM_API_KEY | API key |
OMIUM_API_URL | API host URL (no /api/v1) |
OMIUM_DEBUG | Enable debug logs |
- macOS / Linux
- Windows (PowerShell)
Hosted API URL
For hosted Omium:OMIUM_API_URL=https://api.omium.ai
/api/v1 where needed.