Update this key's settings

Sets only the fields sent; null or empty clears one. Send llm_provider and chat_model together. Connected desktop apps on the key are told to re-read their model.

post/config

Request

  • Base URL: https://oyabrowser.com
  • URL: https://oyabrowser.com/config
  • Auth: HTTP bearer

Request body

llm_provider'openai' | 'anthropic' | 'gemini' | 'vertex' | 'openrouter'

Which LLM provider this key's agent runs on; picks the default endpoint and model.

openai_api_keystring

The key for whichever llm_provider is set (the field name is shared). Masked on read.

openai_base_urlstring

An OpenAI-compatible endpoint, when not the provider's own. Only honoured with this key's own openai_api_key.

chat_modelstring

The model id, as the provider names it. Empty or null uses the provider's default.

Response

Saved; the body is the new settings, as GET returns them, with ok: true

okboolean

Changes

No recorded changes to this operation across all 1 revision of this API.