CLI Configuration

Developer CLI

The Node.js developer CLI uses the conf package with the project name synapsex-cli.
synapsex config set apiBase https://api.synapsex.ai/v1
synapsex config set defaultModel gpt-4o
synapsex config get apiBase
synapsex config list
Authentication tokens and API keys are stored by synapsex login in the same config store.
synapsex login --api-key sk_...
synapsex login --email user@example.com
Environment variables used by the developer CLI:
VariableDefaultPurpose
SYNAPSEX_API_BASEhttps://api.synapsex.ai/v1REST API base URL
SYNAPSEX_AUTH_URLhttps://api.synapsex.aiAuth-service compatible base URL
SYNAPSEX_API_URLhttp://localhost:8015Jobs command base URL
SYNAPSEX_TOKENemptyJobs command bearer token
export SYNAPSEX_API_BASE=https://api.synapsex.ai/v1
export SYNAPSEX_AUTH_URL=https://api.synapsex.ai

VM/Ops CLI

The Python VM/Ops CLI stores JSON files under ~/.synapsex:
FilePurpose
~/.synapsex/config.jsonCLI settings such as base_url
~/.synapsex/credentials.jsonAccess token, refresh token, and user metadata
Known configuration keys:
KeyDescription
base_urlAPI base URL. Defaults to http://localhost:3000
default_outputOutput format: table, json, or yaml
timeoutHTTP timeout in seconds
color_themedefault, dark, or light
sx config set base_url https://api.synapsex.ai
sx config list
sx auth login --email user@example.com