Skip to main content

POST /settings/llm

Update LLM provider API keys/endpoints. Also persists to ~/.neuralcleave/config.toml under [models], so keys survive a restart.
Accepts a key/endpoint field per provider — see LLM Providers for the full list (gemini_api_key, deepseek_api_key, mistral_api_key, xai_api_key, cohere_api_key, moonshot_api_key, zhipuai_api_key, dashscope_api_key, qianfan_api_key, ark_api_key, ollama_base_url, openrouter_api_key, azure_api_key, azure_endpoint, bedrock_region, groq_api_key, together_api_key, fireworks_api_key).

POST /settings/model

Force the active provider, set the reasoning-effort level, or toggle privacy mode — all runtime-only, not persisted to config.toml (unlike /settings/llm above).
At least one field must be present; unrecognized provider/thinking values return 422.

POST /settings/pipeline

max_tool_steps (1–20) caps how many agentic tool-call iterations run per pipeline turn.

POST /settings/voice

Update voice settings. See Voice API for the full field list and GET /voice/config for reading current values back.

Slash-command equivalents

Most settings are also reachable without the REST API, directly in any channel: