Agents
Update LLM config
Update an existing LLM configuration
PATCH
Update LLM config
Headers
Workspace ID
Path Parameters
LLM config ID
Body
application/json
Available options:
openai, anthropic, gemini, openrouter, vercel, deepseek, kilo_code, opencode_go, custom Example:
"openrouter"
Example:
"My OpenAI key"
Custom context window size in tokens. Overrides API-provided value.
Example:
8192
Example:
true
Response
200 - application/json
Available options:
openai, anthropic, gemini, openrouter, vercel, deepseek, kilo_code, opencode_go, custom Masked API key (shows last 4 chars)
Update LLM config
