/config
/config
Overview
The /config command opens the configuration dialog where you can view and modify Apex settings. All configuration is stored locally in ~/.pensar/config.json.
Usage
Configuration File
Apex stores all configuration at ~/.pensar/config.json. This includes:
- AI provider API keys — configured via
/providers - Selected model — configured via
/models - Theme settings — configured via
/themes - Auth tokens — configured via
/login - Workspace info — workspace ID and slug from Pensar Console
Most configuration is managed through dedicated commands (/providers, /models, /themes, /login). The /config dialog provides a unified view of your current settings.
Default HTTP Headers
Default custom HTTP headers can be managed from the shell via pensar config headers.
These defaults are snapshotted into every new session at create time — existing
sessions are not retroactively updated. To mutate a running session, use the
/headers command inside the operator dashboard.
To skip the global snapshot for a single session, pass --no-global-headers to
pensar pentest, pensar targeted-pentest, or /operator.